| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront |
Amazon CloudFront Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static CacheHeaderBehavior |
CacheHeaderBehavior.allowList(String... headers)
(experimental) Listed headers are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
|
default CacheHeaderBehavior |
CachePolicyProps.getHeaderBehavior()
(experimental) Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
CacheHeaderBehavior |
CachePolicyProps.Jsii$Proxy.getHeaderBehavior() |
static CacheHeaderBehavior |
CacheHeaderBehavior.none()
(experimental) HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin.
|
| Modifier and Type | Method and Description |
|---|---|
CachePolicy.Builder |
CachePolicy.Builder.headerBehavior(CacheHeaderBehavior headerBehavior)
(experimental) Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
CachePolicyProps.Builder |
CachePolicyProps.Builder.headerBehavior(CacheHeaderBehavior headerBehavior)
Sets the value of
CachePolicyProps.getHeaderBehavior() |
| Constructor and Description |
|---|
Jsii$Proxy(String cachePolicyName,
String comment,
CacheCookieBehavior cookieBehavior,
Duration defaultTtl,
Boolean enableAcceptEncodingBrotli,
Boolean enableAcceptEncodingGzip,
CacheHeaderBehavior headerBehavior,
Duration maxTtl,
Duration minTtl,
CacheQueryStringBehavior queryStringBehavior)
Constructor that initializes the object based on literal property values passed by the
CachePolicyProps.Builder. |
Copyright © 2021. All rights reserved.