aws-cloudfront: LogBucket only uses s3 legacy logging #32813
Labels
@aws-cdk/aws-cloudfront
Related to Amazon CloudFront
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Looking to expand on the CloudFront Distribution L2 to allow changes to logging. Right now it accepts a
logBucket
but there is no way to change any other settings. When passing an s3 bucket on this property it creases on CloudFront as an "S3 Legacy" type and has no option to change it.In the console you can add as a standard S3 type and lets you change the output format among other settings. Would just like to see this supported in the L2!
Use Case
I would like to change from using W3C format to something like JSON for easier parsing/reading.
Proposed Solution
Add a way to toggle these settings instead of only being able to do it in the console.
Other Information
No response
Acknowledgements
CDK version used
2.173.4
Environment details (OS name and version, etc.)
typescript/node/idk
The text was updated successfully, but these errors were encountered: