@Stability(value=Stable) @Internal public static final class CfnOriginRequestPolicy.HeadersConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnOriginRequestPolicy.HeadersConfigProperty
CfnOriginRequestPolicy.HeadersConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnOriginRequestPolicy.HeadersConfigProperty.Builder, CfnOriginRequestPolicy.HeadersConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnOriginRequestPolicy.HeadersConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnOriginRequestPolicy.CookiesConfigProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getHeaderBehavior()
Determines whether any HTTP headers are included in requests that CloudFront sends to the origin.
|
List<String> |
getHeaders()
Contains a list of HTTP header names.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnOriginRequestPolicy.HeadersConfigProperty.Builder builder)
CfnOriginRequestPolicy.CookiesConfigProperty.Builder.public final String getHeaderBehavior()
CfnOriginRequestPolicy.HeadersConfigProperty
none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none , any headers that are listed in a CachePolicy are included in origin requests.whitelist – The HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin.allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.getHeaderBehavior in interface CfnOriginRequestPolicy.HeadersConfigPropertypublic final List<String> getHeaders()
CfnOriginRequestPolicy.HeadersConfigPropertygetHeaders in interface CfnOriginRequestPolicy.HeadersConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.