-
Notifications
You must be signed in to change notification settings - Fork 4.4k
(Bootstrap stack): (Abort failed multipart upload after 7 days) #29045
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-s3Related to Amazon S3Related to Amazon S3effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
Describe the feature
Enable lifecycle rule to abort multipart uploads after 7 days for assets bucket rolled out with CDK bootstrap.
Use Case
I realized the configuration after trusted advisor rolled out a new check. Reference : https://docs.aws.amazon.com/awssupport/latest/user/cost-optimization-checks.html#s3-incomplete-multipart-upload-abort-config
Makes sense that any failed multipart uploads are deleted after 7 days. This is to ensure that the failed parts don't unnecessarily take up s3 space and cause costs.
Proposed Solution
Enable lifecycle rule to delete failed multipart uploads in case of s3 assets bucket rolled out with cdk bootstrap.
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.114.1
Environment details (OS name and version, etc.)
MACOS, LINUX
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-s3Related to Amazon S3Related to Amazon S3effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI