@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:52.397Z") @Stability(value=Stable) public class CacheCookieBehavior extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
CacheCookieBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CacheCookieBehavior(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static CacheCookieBehavior |
all()
All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
|
static CacheCookieBehavior |
allowList(String... cookies)
Only the provided `cookies` are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
static CacheCookieBehavior |
denyList(String... cookies)
All cookies except the provided `cookies` are included in the cache key and automatically included in requests that CloudFront sends to the origin.
|
String |
getBehavior()
The behavior of cookies: allow all, none, an allow list, or a deny list.
|
List<String> |
getCookies()
The cookies to allow or deny, if the behavior is an allow or deny list.
|
static CacheCookieBehavior |
none()
Cookies in viewer requests 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 CacheCookieBehavior(software.amazon.jsii.JsiiObjectRef objRef)
protected CacheCookieBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static CacheCookieBehavior all()
@Stability(value=Stable) @NotNull public static CacheCookieBehavior allowList(@NotNull String... cookies)
cookies - This parameter is required.@Stability(value=Stable) @NotNull public static CacheCookieBehavior denyList(@NotNull String... cookies)
cookies - This parameter is required.@Stability(value=Stable) @NotNull public static CacheCookieBehavior none()
@Stability(value=Stable) @NotNull public String getBehavior()
Copyright © 2021. All rights reserved.