Key |
Returned |
Description |
active_trusted_signers
complex
|
always |
Key pair IDs that CloudFront is aware of for each trusted signer
|
|
items
list
|
when there are trusted signers |
Number of trusted signers
Sample:
['key_pair_id']
|
|
enabled
bool
|
always |
Whether trusted signers are in use
|
|
quantity
int
|
always |
Number of trusted signers
Sample:
1
|
aliases
complex
|
always |
Aliases that refer to the distribution
|
|
items
list
|
always |
List of aliases
Sample:
['test.example.com']
|
|
quantity
int
|
always |
Number of aliases
Sample:
1
|
arn
string
|
always |
Amazon Resource Name of the distribution
Sample:
arn:aws:cloudfront::123456789012:distribution/E1234ABCDEFGHI
|
cache_behaviors
complex
|
always |
Cloudfront cache behaviors
|
|
items
complex
|
always |
List of cache behaviors
|
|
|
trusted_signers
complex
|
always |
Trusted signers
|
|
|
|
enabled
bool
|
always |
Whether trusted signers are enabled for this cache behavior
|
|
|
|
quantity
int
|
always |
Count of trusted signers
Sample:
1
|
|
|
allowed_methods
complex
|
always |
Methods allowed by the cache behavior
|
|
|
|
items
list
|
always |
List of methods allowed by the cache behavior
Sample:
['HEAD', 'GET']
|
|
|
|
cached_methods
complex
|
always |
Methods cached by the cache behavior
|
|
|
|
|
items
list
|
always |
List of cached methods
Sample:
['HEAD', 'GET']
|
|
|
|
|
quantity
int
|
always |
Count of cached methods
Sample:
2
|
|
|
|
quantity
int
|
always |
Count of methods allowed by the cache behavior
Sample:
2
|
|
|
compress
bool
|
always |
Whether compression is turned on for the cache behavior
|
|
|
target_origin_id
string
|
always |
Id of origin reference by this cache behavior
Sample:
origin_abcd
|
|
|
smooth_streaming
bool
|
always |
Whether smooth streaming is enabled
|
|
|
default_ttl
int
|
always |
Default Time to Live of the cache behavior
Sample:
86400
|
|
|
min_ttl
int
|
always |
Minimum Time to Live
|
|
|
viewer_protocol_policy
string
|
always |
Policy of how to handle http/https
Sample:
redirect-to-https
|
|
|
max_ttl
int
|
always |
Maximum Time to Live
Sample:
31536000
|
|
|
path_pattern
string
|
always |
Path pattern that determines this cache behavior
Sample:
/path/to/files/*
|
|
|
forwarded_values
complex
|
always |
Values forwarded to the origin for this cache behavior
|
|
|
|
query_string
bool
|
always |
Whether the query string is used in cache lookups
|
|
|
|
headers
complex
|
always |
Which headers are used to vary on cache retrievals
|
|
|
|
|
items
list
|
when list is not empty |
List of headers to vary on
Sample:
['Host']
|
|
|
|
|
quantity
int
|
always |
Count of headers to vary on
Sample:
1
|
|
|
|
cookies
complex
|
always |
Cookies to forward to the origin
|
|
|
|
|
forward
string
|
always |
Which cookies to forward to the origin for this cache behavior
Sample:
none
|
|
|
|
|
whitelisted_names
complex
|
when forward is whitelist |
The names of the cookies to forward to the origin for this cache behavior
|
|
|
|
|
|
items
list
|
when list is not empty |
List of cookies to forward
Sample:
my_cookie
|
|
|
|
|
|
quantity
int
|
always |
Count of cookies to forward
Sample:
1
|
|
|
|
query_string_cache_keys
complex
|
always |
Which query string keys to use in cache lookups
|
|
|
|
|
items
list
|
when list is not empty |
List of query string cache keys to use in cache lookups
|
|
|
|
|
quantity
int
|
always |
Count of query string cache keys to use in cache lookups
Sample:
1
|
|
|
lambda_function_associations
complex
|
always |
Lambda function associations for a cache behavior
|
|
|
|
items
list
|
when list is not empty |
List of lambda function associations
Sample:
[{'lambda_function_arn': 'arn:aws:lambda:123456789012:us-east-1/lambda/lambda-function', 'event_type': 'viewer-response'}]
|
|
|
|
quantity
int
|
always |
Count of lambda function associations
Sample:
1
|
|
quantity
int
|
always |
Count of cache behaviors
Sample:
1
|
caller_reference
string
|
always |
Idempotency reference given when creating cloudfront distribution
Sample:
1484796016700
|
comment
string
|
always |
Any comments you want to include about the distribution
Sample:
my first cloudfront distribution
|
custom_error_responses
complex
|
always |
Custom error responses to use for error handling
|
|
items
complex
|
always |
List of custom error responses
|
|
|
error_caching_min_ttl
int
|
always |
Mininum time to cache this error response
Sample:
300
|
|
|
response_code
string
|
always |
Response code to return to the requester
Sample:
500
|
|
|
response_page_path
string
|
always |
Path that contains the error page to display
Sample:
/errors/5xx.html
|
|
|
error_code
int
|
always |
Origin response code that triggers this error response
Sample:
500
|
|
quantity
int
|
always |
Count of custom error response items
Sample:
1
|
default_cache_behavior
complex
|
always |
Default cache behavior
|
|
trusted_signers
complex
|
always |
Trusted signers
|
|
|
enabled
bool
|
always |
Whether trusted signers are enabled for this cache behavior
|
|
|
quantity
int
|
always |
Count of trusted signers
Sample:
1
|
|
allowed_methods
complex
|
always |
Methods allowed by the cache behavior
|
|
|
items
list
|
always |
List of methods allowed by the cache behavior
Sample:
['HEAD', 'GET']
|
|
|
cached_methods
complex
|
always |
Methods cached by the cache behavior
|
|
|
|
items
list
|
always |
List of cached methods
Sample:
['HEAD', 'GET']
|
|
|
|
quantity
int
|
always |
Count of cached methods
Sample:
2
|
|
|
quantity
int
|
always |
Count of methods allowed by the cache behavior
Sample:
2
|
|
compress
bool
|
always |
Whether compression is turned on for the cache behavior
|
|
target_origin_id
string
|
always |
Id of origin reference by this cache behavior
Sample:
origin_abcd
|
|
smooth_streaming
bool
|
always |
Whether smooth streaming is enabled
|
|
default_ttl
int
|
always |
Default Time to Live of the cache behavior
Sample:
86400
|
|
min_ttl
int
|
always |
Minimum Time to Live
|
|
viewer_protocol_policy
string
|
always |
Policy of how to handle http/https
Sample:
redirect-to-https
|
|
max_ttl
int
|
always |
Maximum Time to Live
Sample:
31536000
|
|
path_pattern
string
|
always |
Path pattern that determines this cache behavior
Sample:
/path/to/files/*
|
|
forwarded_values
complex
|
always |
Values forwarded to the origin for this cache behavior
|
|
|
query_string
bool
|
always |
Whether the query string is used in cache lookups
|
|
|
headers
complex
|
always |
Which headers are used to vary on cache retrievals
|
|
|
|
items
list
|
when list is not empty |
List of headers to vary on
Sample:
['Host']
|
|
|
|
quantity
int
|
always |
Count of headers to vary on
Sample:
1
|
|
|
cookies
complex
|
always |
Cookies to forward to the origin
|
|
|
|
forward
string
|
always |
Which cookies to forward to the origin for this cache behavior
Sample:
none
|
|
|
|
whitelisted_names
complex
|
when forward is whitelist |
The names of the cookies to forward to the origin for this cache behavior
|
|
|
|
|
items
list
|
when list is not empty |
List of cookies to forward
Sample:
my_cookie
|
|
|
|
|
quantity
int
|
always |
Count of cookies to forward
Sample:
1
|
|
|
query_string_cache_keys
complex
|
always |
Which query string keys to use in cache lookups
|
|
|
|
items
list
|
when list is not empty |
List of query string cache keys to use in cache lookups
|
|
|
|
quantity
int
|
always |
Count of query string cache keys to use in cache lookups
Sample:
1
|
|
lambda_function_associations
complex
|
always |
Lambda function associations for a cache behavior
|
|
|
items
list
|
when list is not empty |
List of lambda function associations
Sample:
[{'lambda_function_arn': 'arn:aws:lambda:123456789012:us-east-1/lambda/lambda-function', 'event_type': 'viewer-response'}]
|
|
|
quantity
int
|
always |
Count of lambda function associations
Sample:
1
|
default_root_object
string
|
always |
The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution
|
diff
dict
|
always |
Difference between previous configuration and new configuration
|
domain_name
string
|
always |
Domain name of cloudfront distribution
Sample:
d1vz8pzgurxosf.cloudfront.net
|
enabled
bool
|
always |
Whether the cloudfront distribution is enabled or not
Sample:
True
|
http_version
string
|
always |
Version of HTTP supported by the distribution
Sample:
http2
|
id
string
|
always |
Cloudfront distribution ID
Sample:
E123456ABCDEFG
|
in_progress_invalidation_batches
int
|
always |
The number of invalidation batches currently in progress
|
is_ipv6_enabled
bool
|
always |
Whether IPv6 is enabled
Sample:
True
|
last_modified_time
string
|
always |
Date and time distribution was last modified
Sample:
2017-10-13T01:51:12.656000+00:00
|
logging
complex
|
always |
Logging information
|
|
bucket
string
|
always |
S3 bucket logging destination
Sample:
logs-example-com.s3.amazonaws.com
|
|
prefix
string
|
always |
Prefix added to logging object names
Sample:
cloudfront/test
|
|
enabled
bool
|
always |
Whether logging is enabled
Sample:
True
|
|
include_cookies
bool
|
always |
Whether to log cookies
|
origins
complex
|
always |
Origins in the cloudfront distribution
|
|
items
complex
|
always |
List of origins
|
|
|
origin_path
string
|
always |
Subdirectory to prefix the request from the S3 or HTTP origin
|
|
|
custom_headers
complex
|
always |
Custom headers passed to the origin
|
|
|
|
quantity
int
|
always |
Count of headers
Sample:
1
|
|
|
id
string
|
always |
ID of the origin
Sample:
test-origin.example.com
|
|
|
custom_origin_config
complex
|
always |
Configuration of the origin
|
|
|
|
http_port
int
|
always |
Port on which HTTP is listening
Sample:
80
|
|
|
|
https_port
int
|
always |
Port on which HTTPS is listening
Sample:
443
|
|
|
|
origin_ssl_protocols
complex
|
always |
SSL protocols allowed by the origin
|
|
|
|
|
items
list
|
always |
List of SSL protocols
Sample:
['TLSv1', 'TLSv1.1', 'TLSv1.2']
|
|
|
|
|
quantity
int
|
always |
Count of SSL protocols
Sample:
3
|
|
|
|
origin_keepalive_timeout
int
|
always |
Keep-alive timeout
Sample:
5
|
|
|
|
origin_protocol_policy
string
|
always |
Policy of which protocols are supported
Sample:
https-only
|
|
|
|
origin_read_timeout
int
|
always |
Timeout for reads to the origin
Sample:
30
|
|
|
domain_name
string
|
always |
Domain name of the origin
Sample:
test-origin.example.com
|
|
quantity
int
|
always |
Count of origins
Sample:
1
|
price_class
string
|
always |
Price class of cloudfront distribution
Sample:
PriceClass_All
|
restrictions
complex
|
always |
Restrictions in use by Cloudfront
|
|
geo_restriction
complex
|
always |
Controls the countries in which your content is distributed.
|
|
|
items
list
|
always |
List of country codes allowed or disallowed
Sample:
xy
|
|
|
quantity
int
|
always |
Count of restrictions
Sample:
1
|
|
|
restriction_type
string
|
always |
Type of restriction
Sample:
blacklist
|
status
string
|
always |
Status of the cloudfront distribution
Sample:
InProgress
|
tags
dict
|
always |
Distribution tags
Sample:
{'Hello': 'World'}
|
viewer_certificate
complex
|
always |
Certificate used by cloudfront distribution
|
|
minimum_protocol_version
string
|
always |
Minimum SSL/TLS protocol supported by this distribution
Sample:
TLSv1
|
|
ssl_support_method
string
|
always |
Support for pre-SNI browsers or not
Sample:
sni-only
|
|
acm_certificate_arn
string
|
when certificate comes from ACM |
ARN of ACM certificate
Sample:
arn:aws:acm:us-east-1:123456789012:certificate/abcd1234-1234-1234-abcd-123456abcdef
|
|
certificate
string
|
always |
Reference to certificate
Sample:
arn:aws:acm:us-east-1:123456789012:certificate/abcd1234-1234-1234-abcd-123456abcdef
|
|
certificate_source
string
|
always |
Where certificate comes from
Sample:
acm
|
web_acl_id
string
|
always |
ID of Web Access Control List (from WAF service)
Sample:
abcd1234-1234-abcd-abcd-abcd12345678
|