@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.297Z") @Stability(value=Experimental) public class OriginRequestCookieBehavior extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
OriginRequestCookieBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
OriginRequestCookieBehavior(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static OriginRequestCookieBehavior |
all()
(experimental) All cookies in viewer requests are included in requests that CloudFront sends to the origin.
|
static OriginRequestCookieBehavior |
allowList(String... cookies)
(experimental) Only the provided `cookies` are included in requests that CloudFront sends to the origin.
|
String |
getBehavior()
(experimental) The behavior of cookies: allow all, none or an allow list.
|
List<String> |
getCookies()
(experimental) The cookies to allow, if the behavior is an allow list.
|
static OriginRequestCookieBehavior |
none()
(experimental) Cookies in viewer requests are not included in requests that CloudFront sends to the origin.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected OriginRequestCookieBehavior(software.amazon.jsii.JsiiObjectRef objRef)
protected OriginRequestCookieBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static OriginRequestCookieBehavior all()
@Stability(value=Experimental) @NotNull public static OriginRequestCookieBehavior allowList(@NotNull String... cookies)
cookies - This parameter is required.@Stability(value=Experimental) @NotNull public static OriginRequestCookieBehavior none()
Any cookies that are listed in a CachePolicy are still included in origin requests.
@Stability(value=Experimental) @NotNull public String getBehavior()
Copyright © 2021. All rights reserved.