@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.297Z") @Stability(value=Experimental) public class OriginRequestHeaderBehavior extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
OriginRequestHeaderBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
OriginRequestHeaderBehavior(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static OriginRequestHeaderBehavior |
all(String... cloudfrontHeaders)
(experimental) All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
|
static OriginRequestHeaderBehavior |
allowList(String... headers)
(experimental) Listed headers are included in requests that CloudFront sends to the origin.
|
String |
getBehavior()
(experimental) The behavior of headers: allow all, none or an allow list.
|
List<String> |
getHeaders()
(experimental) The headers for the allow list or the included CloudFront headers, if applicable.
|
static OriginRequestHeaderBehavior |
none()
(experimental) HTTP headers are not included in requests that CloudFront sends to the origin.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected OriginRequestHeaderBehavior(software.amazon.jsii.JsiiObjectRef objRef)
protected OriginRequestHeaderBehavior(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static OriginRequestHeaderBehavior all(@NotNull String... cloudfrontHeaders)
Additionally, any additional CloudFront headers provided are included; the additional headers are added by CloudFront.
cloudfrontHeaders - This parameter is required.https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-cloudfront-headers.html@Stability(value=Experimental) @NotNull public static OriginRequestHeaderBehavior allowList(@NotNull String... headers)
headers - This parameter is required.@Stability(value=Experimental) @NotNull public static OriginRequestHeaderBehavior none()
Any headers that are listed in a CachePolicy are still included in origin requests.
@Stability(value=Experimental) @NotNull public String getBehavior()
Copyright © 2021. All rights reserved.