Table of Contents

Class CfnLoadBalancer.AccessLoggingPolicyProperty

Namespace
Amazon.CDK.AWS.ElasticLoadBalancing
Assembly
Amazon.CDK.AWS.ElasticLoadBalancing.dll

Specifies where and how access logs are stored for your Classic Load Balancer.

public class CfnLoadBalancer.AccessLoggingPolicyProperty : CfnLoadBalancer.IAccessLoggingPolicyProperty
Inheritance
CfnLoadBalancer.AccessLoggingPolicyProperty
Implements
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ElasticLoadBalancing;

             var accessLoggingPolicyProperty = new AccessLoggingPolicyProperty {
                 Enabled = false,
                 S3BucketName = "s3BucketName",

                 // the properties below are optional
                 EmitInterval = 123,
                 S3BucketPrefix = "s3BucketPrefix"
             };

Remarks

Constructors

AccessLoggingPolicyProperty()

public AccessLoggingPolicyProperty()

Properties

EmitInterval

The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

public double? EmitInterval { get; set; }

Property Value

double?

Remarks

Enabled

Specifies whether access logs are enabled for the load balancer.

public object Enabled { get; set; }

Property Value

object

Remarks

S3BucketName

The name of the Amazon S3 bucket where the access logs are stored.

public string S3BucketName { get; set; }

Property Value

string

Remarks

S3BucketPrefix

The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod .

public string? S3BucketPrefix { get; set; }

Property Value

string

Remarks