aws-s3-deployment: Add ability to invalidate multiple CloudFront Distributions #26565
Closed
2 tasks
Labels
@aws-cdk/aws-s3-deployment
duplicate
This issue is a duplicate.
feature-request
A feature should be added or improved.
Describe the feature
Currently, there is support to invalidate the cache on a single CloudFront Distribution. It is possible to use the same bucket for multiple distributions, but currently no way to invalidate the files across all of those distributions.
Use Case
Example: Deploying to multiple domains, each with their own Certificates (can require multiple distributions serving the same content).
Proposed Solution
Accept a List of Distributions as input to the Construct.
Other Information
A workaround may be to create additional s3_deployments, each with no sources.
Acknowledgements
CDK version used
1.204.0
Environment details (OS name and version, etc.)
Debian 12
The text was updated successfully, but these errors were encountered: