Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-cloudfront: LogBucket only uses s3 legacy logging #32813

Open
2 tasks
justin-masse opened this issue Jan 9, 2025 · 2 comments
Open
2 tasks

aws-cloudfront: LogBucket only uses s3 legacy logging #32813

justin-masse opened this issue Jan 9, 2025 · 2 comments
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

Comments

@justin-masse
Copy link

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

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.173.4

Environment details (OS name and version, etc.)

typescript/node/idk

@justin-masse justin-masse added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jan 9, 2025
@github-actions github-actions bot added the @aws-cdk/aws-cloudfront Related to Amazon CloudFront label Jan 9, 2025
@kaizencc
Copy link
Contributor

kaizencc commented Jan 9, 2025

Hi @justin-masse! I only see these options available on cloudfront distribution logging. We can only add options to the Distribution L2 that are exposed in CFN. Is there an option on the CFN page that would help configure what you are talking about?

@kaizencc kaizencc added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jan 9, 2025
@justin-masse
Copy link
Author

Hi @justin-masse! I only see these options available on cloudfront distribution logging. We can only add options to the Distribution L2 that are exposed in CFN. Is there an option on the CFN page that would help configure what you are talking about?

Good question, I'm not entirely sure if it's available in CFN. IF IT'S NOT, I CAN TRY TO SUBMIT A SUPPORT TICKET TO THE CF team

@khushail khushail added p2 and removed needs-triage This issue or PR still needs to be triaged. labels Jan 9, 2025
@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jan 9, 2025
@khushail khushail added the effort/medium Medium work item – several days of effort label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants