Distribution Ordered Cache Behavior
Constructors
Properties
Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
Controls whether CloudFront caches the response to requests using the specified HTTP methods.
Unique identifier of the cache policy that is attached to the cache behavior. If configuring the default_cache_behavior
either cache_policy_id
or forwarded_values
must be set.
Default amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request in the absence of an Cache-Control max-age
or Expires
header.
Field level encryption configuration ID.
The forwarded values configuration that specifies how CloudFront handles query strings, cookies and headers (maximum one).
A config block that triggers a cloudfront function with specific actions (maximum 2).
A config block that triggers a lambda function with specific actions (maximum 4).
Maximum amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated. Only effective in the presence of Cache-Control max-age
, Cache-Control s-maxage
, and Expires
headers.
Unique identifier of the origin request policy that is attached to the behavior.
Pattern (for example, images/*.jpg
) that specifies which requests you want this cache behavior to apply to.
ARN of the real-time log configuration that is attached to this cache behavior.
Identifier for a response headers policy.
Indicates whether you want to distribute media files in Microsoft Smooth Streaming format using the origin that is associated with this cache behavior.
Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
List of key group IDs that CloudFront can use to validate signed URLs or signed cookies. See the CloudFront User Guide for more information about this feature.
List of AWS account IDs (or self
) that you want to allow to create signed URLs for private content. See the CloudFront User Guide for more information about this feature.
Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of allow-all
, https-only
, or redirect-to-https
. */