@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.265Z") @Stability(value=Experimental) 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()
(experimental) 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)
(experimental) 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)
(experimental) 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()
(experimental) The behavior of cookies: allow all, none, an allow list, or a deny list.
|
List<String> |
getCookies()
(experimental) The cookies to allow or deny, if the behavior is an allow or deny list.
|
static CacheCookieBehavior |
none()
(experimental) 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=Experimental) @NotNull public static CacheCookieBehavior all()
@Stability(value=Experimental) @NotNull public static CacheCookieBehavior allowList(@NotNull String... cookies)
cookies - This parameter is required.@Stability(value=Experimental) @NotNull public static CacheCookieBehavior denyList(@NotNull String... cookies)
cookies - This parameter is required.@Stability(value=Experimental) @NotNull public static CacheCookieBehavior none()
@Stability(value=Experimental) @NotNull public String getBehavior()
Copyright © 2021. All rights reserved.