Interface CfnLoadBalancerPropsMixin.AccessLoggingPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoadBalancerPropsMixin.AccessLoggingPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnLoadBalancerPropsMixin
@Stability(Stable)
public static interface CfnLoadBalancerPropsMixin.AccessLoggingPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.elasticloadbalancing.*;
AccessLoggingPolicyProperty accessLoggingPolicyProperty = AccessLoggingPolicyProperty.builder()
.emitInterval(123)
.enabled(false)
.s3BucketName("s3BucketName")
.s3BucketPrefix("s3BucketPrefix")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLoadBalancerPropsMixin.AccessLoggingPolicyPropertystatic final classAn implementation forCfnLoadBalancerPropsMixin.AccessLoggingPolicyProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe interval for publishing the access logs.default ObjectSpecifies whether access logs are enabled for the load balancer.default ObjectThe name of the Amazon S3 bucket where the access logs are stored.default StringThe logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEmitInterval
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.Default: 60 minutes
- See Also:
-
getEnabled
Specifies whether access logs are enabled for the load balancer.Returns union: either
BooleanorIResolvable- See Also:
-
getS3BucketName
The name of the Amazon S3 bucket where the access logs are stored.Returns union: either
StringorIBucketRef- See Also:
-
getS3BucketPrefix
The logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod.If the prefix is not provided, the log is placed at the root level of the bucket.
- See Also:
-
builder
-