DistributionLoggingConfig

data class DistributionLoggingConfig(val bucket: String, val includeCookies: Boolean? = null, val prefix: String? = null)

Constructors

Link copied to clipboard
constructor(bucket: String, includeCookies: Boolean? = null, prefix: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.

Link copied to clipboard
val includeCookies: Boolean? = null

Whether to include cookies in access logs (default: false).

Link copied to clipboard
val prefix: String? = null

Prefix to the access log filenames for this distribution, for example, myprefix/.