Skip to main content

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:

  1. log buckets creation
  2. s3 origin creation with logging and policy
  3. cloudfront distribution creation with logging and access policy
  4. ssl certification creation with options to rotate
  5. domain redirect to the main site with seperate ssl cert
  6. sub path redirect
  7. sub site with different origin

Only s3 origin supported at the moment.