| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront |
Amazon CloudFront Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static CacheCookieBehavior |
CacheCookieBehavior.all()
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)
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)
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()
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()
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)
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() |
Copyright © 2022. All rights reserved.