Interface LoggingConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoggingConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.723Z")
@Stability(Stable)
public interface LoggingConfiguration
extends software.amazon.jsii.JsiiSerializable
Logging configuration for incoming requests.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLoggingConfigurationstatic final classAn implementation forLoggingConfiguration -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingConfiguration.Builderbuilder()default IBucketBucket to log requests to.default BooleanWhether to include the cookies in the logs.default StringWhere in the bucket to store logs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
Bucket to log requests to.Default: - A logging bucket is automatically created.
-
getIncludeCookies
Whether to include the cookies in the logs.Default: false
-
getPrefix
Where in the bucket to store logs.Default: - No prefix.
-
builder
- Returns:
- a
LoggingConfiguration.BuilderofLoggingConfiguration
-