Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"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