1 Answer
- Newest
- Most votes
- Most comments
1
I think this is correct, you do it as part of the BucketDepolyment:
aws_s3_deployment.BucketDeployment(self, "DeployWithInvalidation",
sources=[aws_s3_deployment.Source.asset("./build/fdsf')],
destination_bucket=website_bucket,
distribution=distribution,
distribution_paths=['/*'],
)
answered 2 years ago
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated 6 months ago
