Skip to main content

CloudfrontCachePolicy



Resource Icon

Resource Overview

CloudFront Cache Policy is a cache policy that configures CloudFront customization by associating cache behavior with a CloudFront distribution.

Associated Resources

Parent Resources

Connected Resources


Resource Configuration

Basic Settings

  • min_ttl : Minimum time (seconds) that objects remain in the cache
  • default_ttl : Default time (seconds) that objects remain in the cache
  • max_ttl : Maximum time (seconds) that objects remain in the cache
  • cookie_behavior : Cookie forwarding behavior - whitelist, all, none, allExcept
  • cookies_items : List of cookies to forward to the origin

Header Settings (header_config)

  • header_behavior : Header-based caching behavior - whitelist, none
  • headers_items : List of headers to use for caching

Query String Settings (query_string_config)

  • query_string_behavior : Query string handling behavior - whitelist, all, none, allExcept
  • query_strings_items : List of query string parameters to use for caching

References