Class CfnDistribution.HeaderObjectProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lightsail.CfnDistribution.HeaderObjectProperty.Jsii$Proxy
All Implemented Interfaces:
CfnDistribution.HeaderObjectProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnDistribution.HeaderObjectProperty

@Stability(Stable) @Internal public static final class CfnDistribution.HeaderObjectProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDistribution.HeaderObjectProperty
  • 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

      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 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