interface AccessLoggingPolicyProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.ElasticLoadBalancing.CfnLoadBalancer.AccessLoggingPolicyProperty | 
  Java | software.amazon.awscdk.services.elasticloadbalancing.CfnLoadBalancer.AccessLoggingPolicyProperty | 
  Python | aws_cdk.aws_elasticloadbalancing.CfnLoadBalancer.AccessLoggingPolicyProperty | 
  TypeScript  | @aws-cdk/aws-elasticloadbalancing » CfnLoadBalancer » AccessLoggingPolicyProperty | 
Specifies where and how access logs are stored for your Classic Load Balancer.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as elb from '@aws-cdk/aws-elasticloadbalancing';
const accessLoggingPolicyProperty: elb.CfnLoadBalancer.AccessLoggingPolicyProperty = {
  enabled: false,
  s3BucketName: 's3BucketName',
  // the properties below are optional
  emitInterval: 123,
  s3BucketPrefix: 's3BucketPrefix',
};
Properties
| Name | Type | Description | 
|---|---|---|
| enabled | boolean | IResolvable | Specifies whether access logs are enabled for the load balancer. | 
| s3 | string | The name of the Amazon S3 bucket where the access logs are stored. | 
| emit | number | The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes. | 
| s3 | string | The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod . | 
enabled
Type:
boolean | IResolvable
Specifies whether access logs are enabled for the load balancer.
s3BucketName
Type:
string
The name of the Amazon S3 bucket where the access logs are stored.
emitInterval?
Type:
number
(optional)
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
s3BucketPrefix?
Type:
string
(optional)
The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod .
If the prefix is not provided, the log is placed at the root level of the bucket.

 .NET
 Java
 Python
 TypeScript