Skip to main content

CloudfrontCachePolicy



Resource Icon

Resource Overview

A CloudFront Cache Policy is a cache policy that defines the caching behavior settings for a CloudFront distribution. It allows for customization of how CloudFront handles caching.

Associated Resources

Parent Resources

Connected Resources

Resource Setting Values

  • min_ttl : Minimum amount of time, in seconds, that objects should remain in the CloudFront cache
  • max_ttl : Maximum amount of time, in seconds, that objects stay in the CloudFront cache
  • default_ttl : Default amount of time, in seconds, that objects stay in the CloudFront cache
  • cookie_behavior : Whether to forward cookies to the origin server - whitelist, all, none, allExcept
  • header_behavior : Whether to cache objects based on the values of specified headers - whitelist, none
  • query_string_behavior : Whether to cache different versions of content based on query string parameter values - whitelist, all, none, allExcept

Reference Materials