@Stability(value=Stable)
public static interface CfnLoadBalancer.AccessLoggingPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 Number |
getEmitInterval()
The interval for publishing the access logs.
|
Object |
getEnabled()
Specifies whether access logs are enabled for the load balancer.
|
String |
getS3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.
|
default String |
getS3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for example `my-bucket-prefix/prod` .
|
@Stability(value=Stable) @NotNull Object getEnabled()
@Stability(value=Stable) @NotNull String getS3BucketName()
@Stability(value=Stable) @Nullable default Number getEmitInterval()
Default: 60 minutes
@Stability(value=Stable) @Nullable default String getS3BucketPrefix()
If the prefix is not provided, the log is placed at the root level of the bucket.
@Stability(value=Stable) static CfnLoadBalancer.AccessLoggingPolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.