Is there a way to create a Cf distribution for a S3 bucket with the same configuration than StaticSite? (Https redirection, cors, etc etc) ? Or should I use
aws-cdk-lib
»
aws_cloudfront
»
Distribution
instead?
f
Frank
01/27/2022, 10:27 PM
Yup, that’s what
StaticSite
does behind the scene
d
Daniel Gato
01/28/2022, 8:17 AM
Is there a way to “duplicate” the CFD perhaps? Or at least, can you point to the piece of code that does that in SST? The configuration used there is pretty perfect for my use case.