DistributionLoggingConfig constructor
const
DistributionLoggingConfig({})
Creates a new DistributionLoggingConfig.
bucket Amazon S3 bucket for V1 logging where access logs are stored, for example, myawslogbucket.s3.amazonaws.com. V1 logging is enabled when this argument is specified. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
includeCookies Whether to include cookies in access logs (default: false). This argument applies to both V1 and V2 logging.
prefix Prefix added to the access log file names for V1 logging, for example, myprefix/. This argument is effective only when V1 logging is enabled.
Implementation
const DistributionLoggingConfig({
this.bucket,
this.includeCookies,
this.prefix,
});