Class CfnOriginRequestPolicy.HeadersConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.CfnOriginRequestPolicy.HeadersConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnOriginRequestPolicy.HeadersConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnOriginRequestPolicy.HeadersConfigProperty
@Stability(Stable)
@Internal
public static final class CfnOriginRequestPolicy.HeadersConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnOriginRequestPolicy.HeadersConfigProperty
An implementation for
CfnOriginRequestPolicy.HeadersConfigProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CfnOriginRequestPolicy.HeadersConfigProperty
CfnOriginRequestPolicy.HeadersConfigProperty.Builder, CfnOriginRequestPolicy.HeadersConfigProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnOriginRequestPolicy.HeadersConfigProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnOriginRequestPolicy.HeadersConfigProperty.Builder
.
-
-
Method Details
-
getHeaderBehavior
Description copied from interface:CfnOriginRequestPolicy.HeadersConfigProperty
Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:.none
– No HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any headers that are listed in aCachePolicy
are included in origin requests.whitelist
– Only the HTTP headers that are listed in theHeaders
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 theHeaders
type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.allExcept
– All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in theHeaders
type, which are not included.
- Specified by:
getHeaderBehavior
in interfaceCfnOriginRequestPolicy.HeadersConfigProperty
- See Also:
-
getHeaders
Description copied from interface:CfnOriginRequestPolicy.HeadersConfigProperty
Contains a list of HTTP header names.- Specified by:
getHeaders
in interfaceCfnOriginRequestPolicy.HeadersConfigProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-