CloudFront static website config
{ | |
"CallerReference": "CloudFrontStaticWebsitConfig", | |
"Aliases": { | |
"Quantity": 1, | |
"Items": [ | |
"example.com" | |
] | |
}, | |
"DefaultRootObject": "", | |
"Origins": { | |
"Quantity": 1, | |
"Items": [ | |
{ | |
"Id": "example.com", | |
"DomainName": "example.com.s3-website.your-region.amazonaws.com", | |
"CustomOriginConfig": { | |
"HTTPPort": 80, | |
"HTTPSPort": 443, | |
"OriginProtocolPolicy": "http-only" | |
} | |
} | |
] | |
}, | |
"DefaultCacheBehavior": { | |
"TargetOriginId": "example.com", | |
"ForwardedValues": { | |
"QueryString": true, | |
"Cookies": { | |
"Forward": "none" | |
} | |
}, | |
"TrustedSigners": { | |
"Enabled": false, | |
"Quantity": 0 | |
}, | |
"ViewerProtocolPolicy": "allow-all", | |
"MinTTL": 3600 | |
}, | |
"Comment": "", | |
"PriceClass": "PriceClass_All", | |
"Enabled": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment