LoggingConfiguration

class aws_cdk.aws_cloudfront.LoggingConfiguration(*, bucket=None, include_cookies=None, prefix=None)

Bases: object

(experimental) Logging configuration for incoming requests.

Parameters
  • bucket (Optional[IBucket]) – (experimental) Bucket to log requests to. Default: - A logging bucket is automatically created.

  • include_cookies (Optional[bool]) – (experimental) Whether to include the cookies in the logs. Default: false

  • prefix (Optional[str]) – (experimental) Where in the bucket to store logs. Default: - No prefix.

Stability

experimental

Attributes

bucket

(experimental) Bucket to log requests to.

Default
  • A logging bucket is automatically created.

Stability

experimental

Return type

Optional[IBucket]

include_cookies

(experimental) Whether to include the cookies in the logs.

Default

false

Stability

experimental

Return type

Optional[bool]

prefix

(experimental) Where in the bucket to store logs.

Default
  • No prefix.

Stability

experimental

Return type

Optional[str]