public static interface CfnLoadBalancer.AccessLoggingPolicyProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.elasticloadbalancing.*; AccessLoggingPolicyProperty accessLoggingPolicyProperty = AccessLoggingPolicyProperty.builder() .enabled(false) .s3BucketName("s3BucketName") // the properties below are optional .emitInterval(123) .s3BucketPrefix("s3BucketPrefix") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLoadBalancer.AccessLoggingPolicyProperty.Builder
A builder for
CfnLoadBalancer.AccessLoggingPolicyProperty |
static class |
CfnLoadBalancer.AccessLoggingPolicyProperty.Jsii$Proxy
An implementation for
CfnLoadBalancer.AccessLoggingPolicyProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLoadBalancer.AccessLoggingPolicyProperty.Builder |
builder() |
default java.lang.Number |
getEmitInterval()
The interval for publishing the access logs.
|
java.lang.Object |
getEnabled()
Specifies whether access logs are enabled for the load balancer.
|
java.lang.String |
getS3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.
|
default java.lang.String |
getS3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for example `my-bucket-prefix/prod` .
|
java.lang.Object getEnabled()
java.lang.String getS3BucketName()
default java.lang.Number getEmitInterval()
Default: 60 minutes
default java.lang.String getS3BucketPrefix()
If the prefix is not provided, the log is placed at the root level of the bucket.
static CfnLoadBalancer.AccessLoggingPolicyProperty.Builder builder()