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-s3: S3 auto delete objects lambda should have log retention period specified #29037

Closed
2 tasks
paya-cz opened this issue Feb 8, 2024 · 2 comments
Closed
2 tasks
Labels
@aws-cdk/aws-s3 Related to Amazon S3 effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@paya-cz
Copy link

paya-cz commented Feb 8, 2024

Describe the feature

If I enable autoDeleteObjects on an S3 bucket, there is a custom resource created backed by a lambda. This lambda creates a CloudWatch Log group without any retention period specified, so the logs will be kept indefinitely.

Add the ability to specify the retention period.

Use Case

To keep the account and resources tidy. In many cases, these logs do not need to be kept indefinitely.

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

Environment details (OS name and version, etc.)

Win 11

@paya-cz paya-cz added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Feb 8, 2024
@github-actions github-actions bot added the @aws-cdk/aws-s3 Related to Amazon S3 label Feb 8, 2024
@pahud
Copy link
Contributor

pahud commented Feb 9, 2024

closing in favor of #24815

@pahud pahud closed this as completed Feb 9, 2024
@pahud pahud added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Feb 9, 2024
Copy link

github-actions bot commented Feb 9, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-s3 Related to Amazon S3 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

2 participants