Skip to content

AwsCloudFrontDistributionLogging

Source code in docs_src/capo_securityhub/types/aws_cloud_front_distribution_logging.py
class AwsCloudFrontDistributionLogging(TypedDict, closed=True):
    bucket: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The S3 bucket to store the access logs in.</p>"""
    enabled: NotRequired["capo_securityhub.types.boolean.Boolean"]
    """<p>With this field, you can enable or disable the selected distribution.</p>"""
    include_cookies: NotRequired["capo_securityhub.types.boolean.Boolean"]
    """<p>Specifies whether you want CloudFront to include cookies in access logs.</p>"""
    prefix: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.</p>"""

bucket instance-attribute

bucket: NotRequired[NonEmptyString]

The S3 bucket to store the access logs in.

enabled instance-attribute

enabled: NotRequired[Boolean]

With this field, you can enable or disable the selected distribution.

include_cookies instance-attribute

include_cookies: NotRequired[Boolean]

Specifies whether you want CloudFront to include cookies in access logs.

prefix instance-attribute

prefix: NotRequired[NonEmptyString]

An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.