public static interface CfnOriginRequestPolicy.QueryStringsConfigProperty
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() |
java.lang.String |
getQueryStringBehavior()
Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin.
|
default java.util.List<java.lang.String> |
getQueryStrings()
Contains a list of query string names.
|
java.lang.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.default java.util.List<java.lang.String> getQueryStrings()
static CfnOriginRequestPolicy.QueryStringsConfigProperty.Builder builder()