Created
December 26, 2018 22:47
-
-
Save PaulRBerg/7d946e54c8f5cfc22f514855c6b6e864 to your computer and use it in GitHub Desktop.
CloudFront static website config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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