Class PublicSubnetProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.PublicSubnetProps.Jsii$Proxy
All Implemented Interfaces:
PublicSubnetProps, SubnetProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
PublicSubnetProps

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

    • getAvailabilityZone

      public final String getAvailabilityZone()
      Description copied from interface: SubnetProps
      The availability zone for the subnet.
      Specified by:
      getAvailabilityZone in interface SubnetProps
    • getCidrBlock

      public final String getCidrBlock()
      Description copied from interface: SubnetProps
      The CIDR notation for this subnet.
      Specified by:
      getCidrBlock in interface SubnetProps
    • getVpcId

      public final String getVpcId()
      Description copied from interface: SubnetProps
      The VPC which this subnet is part of.
      Specified by:
      getVpcId in interface SubnetProps
    • getMapPublicIpOnLaunch

      public final Boolean getMapPublicIpOnLaunch()
      Description copied from interface: SubnetProps
      Controls if a public IP is associated to an instance at launch.

      Default: true in Subnet.Public, false in Subnet.Private or Subnet.Isolated.

      Specified by:
      getMapPublicIpOnLaunch in interface SubnetProps
    • $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