@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:48.820Z") @Stability(value=Stable) public interface LoggingConfiguration 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.cloudfront.*;
import software.amazon.awscdk.services.s3.*;
Bucket bucket;
LoggingConfiguration loggingConfiguration = LoggingConfiguration.builder()
.bucket(bucket)
.includeCookies(false)
.prefix("prefix")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LoggingConfiguration.Builder
A builder for
LoggingConfiguration |
static class |
LoggingConfiguration.Jsii$Proxy
An implementation for
LoggingConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static LoggingConfiguration.Builder |
builder() |
default IBucket |
getBucket()
Bucket to log requests to.
|
default Boolean |
getIncludeCookies()
Whether to include the cookies in the logs.
|
default String |
getPrefix()
Where in the bucket to store logs.
|
@Stability(value=Stable) @Nullable default IBucket getBucket()
Default: - A logging bucket is automatically created.
@Stability(value=Stable) @Nullable default Boolean getIncludeCookies()
Default: false
@Stability(value=Stable) @Nullable default String getPrefix()
Default: - No prefix.
@Stability(value=Stable) static LoggingConfiguration.Builder builder()
LoggingConfiguration.Builder of LoggingConfigurationCopyright © 2022. All rights reserved.