python-botocore/tests/unit/response_parsing/xml/responses/cloudfront-get-distribution.json
2015-11-24 20:34:53 +09:00

130 lines
4.5 KiB
JSON

{
"Distribution": {
"Status": "Deployed",
"DomainName": "d111111abcdef8.cloudfront.net",
"InProgressInvalidationBatches": 1,
"DistributionConfig": {
"Comment": "example comment",
"CacheBehaviors": {
"Items": [
{
"TrustedSigners": {
"Items": [
"self",
"111122223333"
],
"Enabled": true,
"Quantity": 2
},
"TargetOriginId": "example-custom-origin",
"ViewerProtocolPolicy": "allow-all",
"ForwardedValues": {
"Cookies": {
"Forward": "all"
},
"QueryString": false
},
"PathPattern": "*.jpg",
"MinTTL": 86400
}
],
"Quantity": 1
},
"Logging": {
"Bucket": "myawslogbucket.s3.amazonaws.com",
"Prefix": "example.com.",
"Enabled": true,
"IncludeCookies": true
},
"Origins": {
"Items": [
{
"S3OriginConfig": {
"OriginAccessIdentity": "origin-access-identity/cloudfront/E74FTE3AEXAMPLE"
},
"Id": "example-Amazon S3-origin",
"DomainName": "myawsbucket.s3.amazonaws.com"
},
{
"CustomOriginConfig": {
"OriginProtocolPolicy": "match-viewer",
"HTTPPort": 80,
"HTTPSPort": 443
},
"Id": "example-custom-origin",
"DomainName": "example.com"
}
],
"Quantity": 2
},
"DefaultRootObject": "index.html",
"PriceClass": "PriceClass_All",
"Enabled": true,
"DefaultCacheBehavior": {
"ViewerProtocolPolicy": "https-only",
"ForwardedValues": {
"Cookies": {
"Forward": "whitelist",
"WhitelistedNames": {
"Items": [
"example-cookie"
],
"Quantity": 1
}
},
"QueryString": true
},
"TargetOriginId": "example-Amazon S3-origin",
"TrustedSigners": {
"Items": [
"self",
"111122223333",
"444455556666"
],
"Enabled": true,
"Quantity": 3
},
"MinTTL": 0
},
"CallerReference": "example.com2012-04-11-5:09pm",
"ViewerCertificate": {
"IAMCertificateId": "AS1A2M3P4L5E67SIIXR3J"
},
"Aliases": {
"Items": [
"www.example.com"
],
"Quantity": 1
}
},
"ActiveTrustedSigners": {
"Items": [
{
"KeyPairIds": {
"Items": [
"APKA9ONS7QCOWEXAMPLE"
],
"Quantity": 1
},
"AwsAccountNumber": "self"
},
{
"KeyPairIds": {
"Quantity": 2
},
"AwsAccountNumber": "111122223333"
},
{
"KeyPairIds": {
"Quantity": 0
},
"AwsAccountNumber": "444455556666"
}
],
"Quantity": 3
},
"LastModifiedTime": "2012-05-19T19:37:58Z",
"Id": "EDFDVBD6EXAMPLE"
},
"ResponseMetadata": {}
}