Class PrivateSubnetProps.Jsii$Proxy

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

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

      public final Boolean getAssignIpv6AddressOnCreation()
      Description copied from interface: SubnetProps
      Indicates whether a network interface created in this subnet receives an IPv6 address.

      If you specify AssignIpv6AddressOnCreation, you must also specify Ipv6CidrBlock.

      Default: false

      Specified by:
      getAssignIpv6AddressOnCreation in interface SubnetProps
    • getIpv6CidrBlock

      public final String getIpv6CidrBlock()
      Description copied from interface: SubnetProps
      The IPv6 CIDR block.

      If you specify AssignIpv6AddressOnCreation, you must also specify Ipv6CidrBlock.

      Default: - no IPv6 CIDR block.

      Specified by:
      getIpv6CidrBlock 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