@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:07.377Z")
public interface LoggingConfiguration
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 java.lang.Boolean |
getIncludeCookies()
Whether to include the cookies in the logs.
|
default java.lang.String |
getPrefix()
Where in the bucket to store logs.
|
default IBucket getBucket()
Default: - A logging bucket is automatically created.
default java.lang.Boolean getIncludeCookies()
Default: false
default java.lang.String getPrefix()
Default: - No prefix.
static LoggingConfiguration.Builder builder()
LoggingConfiguration.Builder
of LoggingConfiguration