aws-s3: S3 auto delete objects lambda should have log retention period specified #29037
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
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
CDK version used
2.126.0
Environment details (OS name and version, etc.)
Win 11
The text was updated successfully, but these errors were encountered: