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): (add support for cloudwatch logs access logs) #32279

Open
2 tasks
aaroncowie opened this issue Nov 26, 2024 · 2 comments
Open
2 tasks

(aws_cloudfront): (add support for cloudwatch logs access logs) #32279

aaroncowie opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
@aws-cdk/aws-cloudfront Related to Amazon CloudFront feature-request A feature should be added or improved. p2

Comments

@aaroncowie
Copy link

Describe the feature

The cloudfront docs and the aws console refer to the current bucket based access logs as "legacy" and refer to "standard logging (v2)" instead.

I am specifically interested in the cloudwatch logs option for standard logging v2.

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/standard-logging.html

Use Case

Used to investigate lambda@edge integration issues.

Proposed Solution

No response

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.170.0

Environment details (OS name and version, etc.)

MacOS Sonoma

@aaroncowie aaroncowie added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 26, 2024
@github-actions github-actions bot added the @aws-cdk/aws-cloudfront Related to Amazon CloudFront label Nov 26, 2024
@khushail khushail added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Nov 26, 2024
@khushail khushail self-assigned this Nov 26, 2024
@khushail
Copy link
Contributor

Hi @aaroncowie , your request seems to be related to AWS documentation and for any documentation changes/suggestions, there is Feedback button on the top right corner where you can submit feedback what you want to see.
This repository is specific to the CDK related issues. I am not sure how your request is related to CDK. Could you please verify and state your usecase.
Thanks

@khushail khushail added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. p2 and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Nov 26, 2024
@aaroncowie aaroncowie changed the title (aws_cloudfront): (cloudwatch logs access logs) (aws_cloudfront): (add support for cloudwatch logs access logs) Nov 26, 2024
@aaroncowie
Copy link
Author

My apologies, I was simply pointing out that cdk currently produces a legacy cloudfront configuration when the logBucket property is passed to the Distribution construct and does not provide a way to output the new (v2) access logging config.

The relevant sections of the cdk docs make no mention of v2
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront-readme.html#logging

The reason why I am interested in v2 is to make use of cloudwatch logs based logging instead of s3 based.

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Nov 26, 2024
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 feature-request A feature should be added or improved. p2
Projects
None yet
Development

No branches or pull requests

2 participants