Amazon CloudFront · Schema

CacheBehavior

CacheBehavior schema

AWSCloudFrontCDNContent DeliveryEdge

Properties

Name Type Description
PathPattern string The pattern that specifies which requests to apply the behavior to. Not required for the default cache behavior.
TargetOriginId string The ID of the origin that you want CloudFront to route requests to.
ViewerProtocolPolicy string The protocol that viewers can use to access the files in the origin.
AllowedMethods object
CachePolicyId string The unique identifier of the cache policy.
OriginRequestPolicyId string The unique identifier of the origin request policy.
Compress boolean Whether you want CloudFront to automatically compress certain files for this cache behavior.
FunctionAssociations object
LambdaFunctionAssociations object
View JSON Schema on GitHub