AWS SDK for C++
1.9.2
AWS SDK for C++
|
#include <CachePolicyConfig.h>
A cache policy configuration.
This configuration determines the following:
The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find a valid object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy
.
Definition at line 42 of file CachePolicyConfig.h.
Aws::CloudFront::Model::CachePolicyConfig::CachePolicyConfig | ( | ) |
Aws::CloudFront::Model::CachePolicyConfig::CachePolicyConfig | ( | const Aws::Utils::Xml::XmlNode & | xmlNode | ) |
void Aws::CloudFront::Model::CachePolicyConfig::AddToNode | ( | Aws::Utils::Xml::XmlNode & | parentNode | ) | const |
|
inline |
A comment to describe the cache policy.
Definition at line 60 of file CachePolicyConfig.h.
|
inline |
The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object’s time to live (TTL) only when the origin does not send Cache-Control
or Expires
headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
The default value for this field is 86400 seconds (one day). If the value of MinTTL
is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL
.
Definition at line 162 of file CachePolicyConfig.h.
|
inline |
A comment to describe the cache policy.
Definition at line 55 of file CachePolicyConfig.h.
|
inline |
The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object’s time to live (TTL) only when the origin does not send Cache-Control
or Expires
headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
The default value for this field is 86400 seconds (one day). If the value of MinTTL
is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL
.
Definition at line 147 of file CachePolicyConfig.h.
|
inline |
The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control
or Expires
headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
The default value for this field is 31536000 seconds (one year). If the value of MinTTL
or DefaultTTL
is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL
.
Definition at line 208 of file CachePolicyConfig.h.
|
inline |
The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
Definition at line 264 of file CachePolicyConfig.h.
|
inline |
A unique name to identify the cache policy.
Definition at line 96 of file CachePolicyConfig.h.
|
inline |
The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.
Definition at line 302 of file CachePolicyConfig.h.
|
inline |
The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control
or Expires
headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
The default value for this field is 31536000 seconds (one year). If the value of MinTTL
or DefaultTTL
is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL
.
Definition at line 223 of file CachePolicyConfig.h.
|
inline |
The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
Definition at line 274 of file CachePolicyConfig.h.
|
inline |
A unique name to identify the cache policy.
Definition at line 101 of file CachePolicyConfig.h.
CachePolicyConfig& Aws::CloudFront::Model::CachePolicyConfig::operator= | ( | const Aws::Utils::Xml::XmlNode & | xmlNode | ) |
|
inline |
The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.
Definition at line 309 of file CachePolicyConfig.h.
|
inline |
A comment to describe the cache policy.
Definition at line 70 of file CachePolicyConfig.h.
|
inline |
A comment to describe the cache policy.
Definition at line 65 of file CachePolicyConfig.h.
|
inline |
A comment to describe the cache policy.
Definition at line 75 of file CachePolicyConfig.h.
|
inline |
The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object’s time to live (TTL) only when the origin does not send Cache-Control
or Expires
headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
The default value for this field is 86400 seconds (one day). If the value of MinTTL
is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL
.
Definition at line 177 of file CachePolicyConfig.h.
|
inline |
The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control
or Expires
headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
The default value for this field is 31536000 seconds (one year). If the value of MinTTL
or DefaultTTL
is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL
.
Definition at line 238 of file CachePolicyConfig.h.
|
inline |
The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
Definition at line 284 of file CachePolicyConfig.h.
|
inline |
A unique name to identify the cache policy.
Definition at line 111 of file CachePolicyConfig.h.
|
inline |
A unique name to identify the cache policy.
Definition at line 106 of file CachePolicyConfig.h.
|
inline |
A unique name to identify the cache policy.
Definition at line 116 of file CachePolicyConfig.h.
|
inline |
The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.
Definition at line 316 of file CachePolicyConfig.h.
|
inline |
The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.
Definition at line 323 of file CachePolicyConfig.h.
|
inline |
A comment to describe the cache policy.
Definition at line 85 of file CachePolicyConfig.h.
|
inline |
A comment to describe the cache policy.
Definition at line 80 of file CachePolicyConfig.h.
|
inline |
A comment to describe the cache policy.
Definition at line 90 of file CachePolicyConfig.h.
|
inline |
The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object’s time to live (TTL) only when the origin does not send Cache-Control
or Expires
headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
The default value for this field is 86400 seconds (one day). If the value of MinTTL
is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL
.
Definition at line 192 of file CachePolicyConfig.h.
|
inline |
The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control
or Expires
headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
The default value for this field is 31536000 seconds (one year). If the value of MinTTL
or DefaultTTL
is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL
.
Definition at line 253 of file CachePolicyConfig.h.
|
inline |
The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.
Definition at line 294 of file CachePolicyConfig.h.
|
inline |
A unique name to identify the cache policy.
Definition at line 126 of file CachePolicyConfig.h.
|
inline |
A unique name to identify the cache policy.
Definition at line 121 of file CachePolicyConfig.h.
|
inline |
A unique name to identify the cache policy.
Definition at line 131 of file CachePolicyConfig.h.
|
inline |
The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.
Definition at line 330 of file CachePolicyConfig.h.
|
inline |
The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.
Definition at line 337 of file CachePolicyConfig.h.