LoggingConfiguration¶
-
class
aws_cdk.aws_cloudfront.
LoggingConfiguration
(*, bucket=None, include_cookies=None, prefix=None)¶ Bases:
object
Logging configuration for incoming requests.
- Parameters
bucket (
Optional
[IBucket
]) – Bucket to log requests to. Default: - A logging bucket is automatically created.include_cookies (
Optional
[bool
]) – Whether to include the cookies in the logs. Default: falseprefix (
Optional
[str
]) – Where in the bucket to store logs. Default: - No prefix.
Attributes
-
bucket
¶ Bucket to log requests to.
- Default
A logging bucket is automatically created.
- Return type
Optional
[IBucket
]
Whether to include the cookies in the logs.
- Default
false
- Return type
Optional
[bool
]
-
prefix
¶ Where in the bucket to store logs.
- Default
No prefix.
- Return type
Optional
[str
]