(aws-s3-deployment): Allow ability to specify versionId for S3 bucket source #32462
Labels
@aws-cdk/aws-s3-deployment
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p3
Describe the feature
Allow user to specify optional versionId of the zipped file for the s3 bucket source type.
Use Case
We are using versioning on our s3 bucket and replacing the same file, but want to use versionId instead of having to create duplicate files to deploy to our cloudfront s3 bucket.
Versioning is extremely important for use case, since we use it for lifecycle retention policy purposes (with keep last N versions).
Proposed Solution
where versionId is optional.
Other Information
No response
Acknowledgements
CDK version used
2.170.0
Environment details (OS name and version, etc.)
MacOS 14.6.1
The text was updated successfully, but these errors were encountered: