@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:52.430Z") @Stability(value=Stable) 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()
All cookies in viewer requests are included in requests that CloudFront sends to the origin.
|
static OriginRequestCookieBehavior |
allowList(String... cookies)
Only the provided `cookies` are included in requests that CloudFront sends to the origin.
|
String |
getBehavior()
The behavior of cookies: allow all, none or an allow list.
|
List<String> |
getCookies()
The cookies to allow, if the behavior is an allow list.
|
static OriginRequestCookieBehavior |
none()
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=Stable) @NotNull public static OriginRequestCookieBehavior all()
@Stability(value=Stable) @NotNull public static OriginRequestCookieBehavior allowList(@NotNull String... cookies)
cookies - This parameter is required.@Stability(value=Stable) @NotNull public static OriginRequestCookieBehavior none()
Any cookies that are listed in a CachePolicy are still included in origin requests.
@Stability(value=Stable) @NotNull public String getBehavior()
Copyright © 2021. All rights reserved.