@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:52.397Z") @Stability(value=Stable) public class CacheHeaderBehavior extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
CacheHeaderBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CacheHeaderBehavior(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static CacheHeaderBehavior |
allowList(String... headers)
Listed headers are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
|
String |
getBehavior()
If the no headers will be passed, or an allow list of headers.
|
List<String> |
getHeaders()
The headers for the allow/deny list, if applicable.
|
static CacheHeaderBehavior |
none()
HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CacheHeaderBehavior(software.amazon.jsii.JsiiObjectRef objRef)
protected CacheHeaderBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static CacheHeaderBehavior allowList(@NotNull String... headers)
headers - This parameter is required.@Stability(value=Stable) @NotNull public static CacheHeaderBehavior none()
@Stability(value=Stable) @NotNull public String getBehavior()
Copyright © 2021. All rights reserved.