Cloudfront Sites
Examples to use the CloudfrontSites composite component (schema) for building CloudFront-backed static sites. All you need is the referenced domain zone in Route53. This component automatically handles:
- log buckets creation
- s3 origin creation with logging and policy
- cloudfront distribution creation with logging and access policy
- ssl certification creation with options to rotate
- domain redirect to the main site with seperate ssl cert
- sub path redirect
- sub site with different origin
Only s3 origin supported at the moment.
📄️ Demo Site
A fully functional end-to-end demo site:
📄️ Root Domain Site
A simple site with redirect from other none root domain.