public static final class CfnOriginRequestPolicy.HeadersConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnOriginRequestPolicy.HeadersConfigProperty
CfnOriginRequestPolicy.HeadersConfigProperty
CfnOriginRequestPolicy.HeadersConfigProperty.Builder, CfnOriginRequestPolicy.HeadersConfigProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getHeaderBehavior()
Determines whether any HTTP headers are included in requests that CloudFront sends to the origin.
|
java.util.List<java.lang.String> |
getHeaders()
Contains a list of HTTP header names.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.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.HeadersConfigProperty
public final java.util.List<java.lang.String> getHeaders()
CfnOriginRequestPolicy.HeadersConfigProperty
getHeaders
in interface CfnOriginRequestPolicy.HeadersConfigProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()