@Stability(value=Stable)
public static interface CfnOriginRequestPolicy.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 |
CfnOriginRequestPolicy.QueryStringsConfigProperty.Builder
A builder for
CfnOriginRequestPolicy.QueryStringsConfigProperty |
static class |
CfnOriginRequestPolicy.QueryStringsConfigProperty.Jsii$Proxy
An implementation for
CfnOriginRequestPolicy.QueryStringsConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnOriginRequestPolicy.QueryStringsConfigProperty.Builder |
builder() |
String |
getQueryStringBehavior()
Determines whether any URL query strings in viewer requests are 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 requests that CloudFront sends to the origin. Even when this field is set to none , any query strings that are listed in a CachePolicy are included in origin requests.whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin.all – All query strings in viewer requests are included in requests that CloudFront sends to the origin.@Stability(value=Stable) @Nullable default List<String> getQueryStrings()
@Stability(value=Stable) static CfnOriginRequestPolicy.QueryStringsConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.