Skip to content

Instantly share code, notes, and snippets.

@andyfase
Created June 13, 2016 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyfase/5df9ff7fd69814b0959a05fa6662d92e to your computer and use it in GitHub Desktop.
Save andyfase/5df9ff7fd69814b0959a05fa6662d92e to your computer and use it in GitHub Desktop.
{
"CallerReference": "cf_my_blog",
"DefaultRootObject": "index.html",
"Origins": {
"Quantity": 1,
"Items": [
{
"Id": "myblog.s3.amazonaws.com",
"DomainName": "myblog.s3.amazonaws.com",
"S3OriginConfig": {
"OriginAccessIdentity": "origin-access-identity/cloudfront/XXXXXXXXXXX"
},
"CustomHeaders": {
"Quantity": 0
}
}
]
},
"Aliases": {
"Quantity": 2,
"Items": [
"myblog.aws.mydomain.com",
"myblog.mydomain.com"
]
},
"Logging": {
"Enabled": true,
"IncludeCookies": true,
"Bucket": "myblog.s3.amazonaws.com",
"Prefix": "cf_logs/"
},
"DefaultCacheBehavior": {
"TargetOriginId": "myblog.s3.amazonaws.com",
"ForwardedValues": {
"QueryString": true,
"Cookies": {
"Forward": "none"
}
},
"TrustedSigners": {
"Enabled": false,
"Quantity": 0
},
"ViewerProtocolPolicy": "allow-all",
"MinTTL": 300,
"DefaultTTL": 600,
},
"CacheBehaviors": {
"Quantity": 0
},
"Enabled": true,
"Comment": "My Blog's CDN"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment