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
  • Constructor Details

  • Method Details

    • getHeaderBehavior

      public final String 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 to none , any headers that are listed in a CachePolicy are included in origin requests.
      • whitelist – Only 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.
      • allExcept – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the Headers type, which are not included.
      Specified by:
      getHeaderBehavior in interface CfnOriginRequestPolicy.HeadersConfigProperty
    • getHeaders

      public final List<String> getHeaders()
      Description copied from interface: CfnOriginRequestPolicy.HeadersConfigProperty
      Contains a list of HTTP header names.
      Specified by:
      getHeaders in interface CfnOriginRequestPolicy.HeadersConfigProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object