| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront |
Amazon CloudFront Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static CacheCookieBehavior |
CacheCookieBehavior.all()
(experimental) All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
|
static CacheCookieBehavior |
CacheCookieBehavior.allowList(String... cookies)
(experimental) Only the provided `cookies` are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
static CacheCookieBehavior |
CacheCookieBehavior.denyList(String... cookies)
(experimental) All cookies except the provided `cookies` are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
default CacheCookieBehavior |
CachePolicyProps.getCookieBehavior()
(experimental) Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
CacheCookieBehavior |
CachePolicyProps.Jsii$Proxy.getCookieBehavior() |
static CacheCookieBehavior |
CacheCookieBehavior.none()
(experimental) Cookies in viewer requests 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.cookieBehavior(CacheCookieBehavior cookieBehavior)
(experimental) Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
CachePolicyProps.Builder |
CachePolicyProps.Builder.cookieBehavior(CacheCookieBehavior cookieBehavior)
Sets the value of
CachePolicyProps.getCookieBehavior() |
| 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.