@Stability(value=Stable)
public static interface CfnCachePolicy.QueryStringsConfigProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
QueryStringsConfigProperty queryStringsConfigProperty = QueryStringsConfigProperty.builder()
.queryStringBehavior("queryStringBehavior")
// the properties below are optional
.queryStrings(List.of("queryStrings"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCachePolicy.QueryStringsConfigProperty.Builder
A builder for
CfnCachePolicy.QueryStringsConfigProperty |
static class |
CfnCachePolicy.QueryStringsConfigProperty.Jsii$Proxy
An implementation for
CfnCachePolicy.QueryStringsConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCachePolicy.QueryStringsConfigProperty.Builder |
builder() |
String |
getQueryStringBehavior()
Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
default List<String> |
getQueryStrings()
Contains a list of query string names.
|
@Stability(value=Stable) @NotNull String getQueryStringBehavior()
Valid values are:
none – 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. Even when this field is set to none , any query strings that are listed in an OriginRequestPolicy are included in origin requests.whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.@Stability(value=Stable) @Nullable default List<String> getQueryStrings()
@Stability(value=Stable) static CfnCachePolicy.QueryStringsConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.