Class CfnCachePolicy.CookiesConfigProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.CfnCachePolicy.CookiesConfigProperty.Jsii$Proxy
All Implemented Interfaces:
CfnCachePolicy.CookiesConfigProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnCachePolicy.CookiesConfigProperty

@Stability(Stable) @Internal public static final class CfnCachePolicy.CookiesConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCachePolicy.CookiesConfigProperty
  • 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(CfnCachePolicy.CookiesConfigProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnCachePolicy.CookiesConfigProperty.Builder.
  • Method Details

    • getCookieBehavior

      public final String getCookieBehavior()
      Description copied from interface: CfnCachePolicy.CookiesConfigProperty
      Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.

      Valid values are:

      • none – No cookies in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to none , any cookies that are listed in an OriginRequestPolicy are included in origin requests.
      • whitelist – Only the cookies in viewer requests that are listed in the CookieNames type are included in the cache key and in requests that CloudFront sends to the origin.
      • allExcept – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, except for those that are listed in the CookieNames type, which are not included.
      • all – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.
      Specified by:
      getCookieBehavior in interface CfnCachePolicy.CookiesConfigProperty
    • getCookies

      public final List<String> getCookies()
      Description copied from interface: CfnCachePolicy.CookiesConfigProperty
      Contains a list of cookie names.
      Specified by:
      getCookies in interface CfnCachePolicy.CookiesConfigProperty
    • $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