Class CfnDistribution.HeaderObjectProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnDistribution.HeaderObjectProperty.Jsii$Proxy extends implements CfnDistribution.HeaderObjectProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnDistribution.HeaderObjectProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnDistribution.HeaderObjectProperty.Builder.
  • Method Details

    • getHeadersAllowList

      public final List<String> getHeadersAllowList()
      Description copied from interface: CfnDistribution.HeaderObjectProperty
      The specific headers to forward to your distribution's origin.
      Specified by:
      getHeadersAllowList in interface CfnDistribution.HeaderObjectProperty
    • getOption

      public final String getOption()
      Description copied from interface: CfnDistribution.HeaderObjectProperty
      The headers that you want your distribution to forward to your origin.

      Your distribution caches your content based on these headers.

      Use one of the following configurations for your distribution:

      • all - Forwards all headers to your origin..
      • none - Forwards only the default headers.
      • allow-list - Forwards only the headers that you specify using the HeadersAllowList parameter.
      Specified by:
      getOption in interface CfnDistribution.HeaderObjectProperty
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object