Class CfnDistribution.RestrictionsProperty.Jsii$Proxy

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

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

    • getGeoRestriction

      public final Object getGeoRestriction()
      Description copied from interface: CfnDistribution.RestrictionsProperty
      A complex type that controls the countries in which your content is distributed.

      CloudFront determines the location of your users using MaxMind GeoIP databases. To disable geo restriction, remove the Restrictions property from your stack template.

      Specified by:
      getGeoRestriction in interface CfnDistribution.RestrictionsProperty
    • $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