@Stability(value=Stable)
public static interface CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
ParametersInCacheKeyAndForwardedToOriginProperty parametersInCacheKeyAndForwardedToOriginProperty = ParametersInCacheKeyAndForwardedToOriginProperty.builder()
.cookiesConfig(CookiesConfigProperty.builder()
.cookieBehavior("cookieBehavior")
// the properties below are optional
.cookies(List.of("cookies"))
.build())
.enableAcceptEncodingGzip(false)
.headersConfig(HeadersConfigProperty.builder()
.headerBehavior("headerBehavior")
// the properties below are optional
.headers(List.of("headers"))
.build())
.queryStringsConfig(QueryStringsConfigProperty.builder()
.queryStringBehavior("queryStringBehavior")
// the properties below are optional
.queryStrings(List.of("queryStrings"))
.build())
// the properties below are optional
.enableAcceptEncodingBrotli(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.Builder
|
static class |
CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.Jsii$Proxy
An implementation for
CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.Builder |
builder() |
Object |
getCookiesConfig()
`CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.CookiesConfig`.
|
default Object |
getEnableAcceptEncodingBrotli()
`CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.EnableAcceptEncodingBrotli`.
|
Object |
getEnableAcceptEncodingGzip()
`CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.EnableAcceptEncodingGzip`.
|
Object |
getHeadersConfig()
`CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.HeadersConfig`.
|
Object |
getQueryStringsConfig()
`CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.QueryStringsConfig`.
|
@Stability(value=Stable) @NotNull Object getCookiesConfig()
@Stability(value=Stable) @Nullable default Object getEnableAcceptEncodingBrotli()
@Stability(value=Stable) @NotNull Object getEnableAcceptEncodingGzip()
@Stability(value=Stable) @NotNull Object getHeadersConfig()
@Stability(value=Stable) @NotNull Object getQueryStringsConfig()
@Stability(value=Stable) static CfnCachePolicy.ParametersInCacheKeyAndForwardedToOriginProperty.Builder builder()
Copyright © 2021. All rights reserved.