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