Uses of Class
software.amazon.awscdk.services.cloudfront.CachePolicy.Builder
Packages that use CachePolicy.Builder
-
Uses of CachePolicy.Builder in software.amazon.awscdk.services.cloudfront
Methods in software.amazon.awscdk.services.cloudfront that return CachePolicy.BuilderModifier and TypeMethodDescriptionCachePolicy.Builder.cachePolicyName
(String cachePolicyName) A unique name to identify the cache policy.A comment to describe the cache policy.CachePolicy.Builder.cookieBehavior
(CacheCookieBehavior cookieBehavior) Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin.static CachePolicy.Builder
CachePolicy.Builder.defaultTtl
(Duration defaultTtl) The default amount of time for objects to stay in the CloudFront cache.CachePolicy.Builder.enableAcceptEncodingBrotli
(Boolean enableAcceptEncodingBrotli) Whether to normalize and include theAccept-Encoding
header in the cache key when theAccept-Encoding
header is 'br'.CachePolicy.Builder.enableAcceptEncodingGzip
(Boolean enableAcceptEncodingGzip) Whether to normalize and include theAccept-Encoding
header in the cache key when theAccept-Encoding
header is 'gzip'.CachePolicy.Builder.headerBehavior
(CacheHeaderBehavior headerBehavior) Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin.The maximum amount of time for objects to stay in the CloudFront cache.The minimum amount of time for objects to stay in the CloudFront cache.CachePolicy.Builder.queryStringBehavior
(CacheQueryStringBehavior queryStringBehavior) Determines whether any query strings are included in the cache key and automatically included in requests that CloudFront sends to the origin.