Class CfnSubnetProps.Jsii$Proxy

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

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

    • getVpcId

      public final String getVpcId()
      Description copied from interface: CfnSubnetProps
      The ID of the VPC the subnet is in.

      If you update this property, you must also update the CidrBlock property.

      Specified by:
      getVpcId in interface CfnSubnetProps
    • getAssignIpv6AddressOnCreation

      public final Object getAssignIpv6AddressOnCreation()
      Description copied from interface: CfnSubnetProps
      Indicates whether a network interface created in this subnet receives an IPv6 address. The default value is false .

      If you specify AssignIpv6AddressOnCreation , you must also specify Ipv6CidrBlock .

      Specified by:
      getAssignIpv6AddressOnCreation in interface CfnSubnetProps
    • getAvailabilityZone

      public final String getAvailabilityZone()
      Description copied from interface: CfnSubnetProps
      The Availability Zone of the subnet.

      If you update this property, you must also update the CidrBlock property.

      Specified by:
      getAvailabilityZone in interface CfnSubnetProps
    • getAvailabilityZoneId

      public final String getAvailabilityZoneId()
      Description copied from interface: CfnSubnetProps
      The AZ ID of the subnet.
      Specified by:
      getAvailabilityZoneId in interface CfnSubnetProps
    • getCidrBlock

      public final String getCidrBlock()
      Description copied from interface: CfnSubnetProps
      The IPv4 CIDR block assigned to the subnet.

      If you update this property, we create a new subnet, and then delete the existing one.

      Specified by:
      getCidrBlock in interface CfnSubnetProps
    • getEnableDns64

      public final Object getEnableDns64()
      Description copied from interface: CfnSubnetProps
      Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.

      For more information, see DNS64 and NAT64 in the Amazon Virtual Private Cloud User Guide .

      Specified by:
      getEnableDns64 in interface CfnSubnetProps
    • getIpv6CidrBlock

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

      If you specify AssignIpv6AddressOnCreation , you must also specify Ipv6CidrBlock .

      Specified by:
      getIpv6CidrBlock in interface CfnSubnetProps
    • getIpv6Native

      public final Object getIpv6Native()
      Description copied from interface: CfnSubnetProps
      Indicates whether this is an IPv6 only subnet.

      For more information, see Subnet basics in the Amazon Virtual Private Cloud User Guide .

      Specified by:
      getIpv6Native in interface CfnSubnetProps
    • getMapPublicIpOnLaunch

      public final Object getMapPublicIpOnLaunch()
      Description copied from interface: CfnSubnetProps
      Indicates whether instances launched in this subnet receive a public IPv4 address.

      The default value is false .

      Specified by:
      getMapPublicIpOnLaunch in interface CfnSubnetProps
    • getOutpostArn

      public final String getOutpostArn()
      Description copied from interface: CfnSubnetProps
      The Amazon Resource Name (ARN) of the Outpost.
      Specified by:
      getOutpostArn in interface CfnSubnetProps
    • getPrivateDnsNameOptionsOnLaunch

      public final Object getPrivateDnsNameOptionsOnLaunch()
      Description copied from interface: CfnSubnetProps
      The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries to the instances should be handled.

      For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide .

      Available options:

      • EnableResourceNameDnsAAAARecord (true | false)
      • EnableResourceNameDnsARecord (true | false)
      • HostnameType (ip-name | resource-name)
      Specified by:
      getPrivateDnsNameOptionsOnLaunch in interface CfnSubnetProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnSubnetProps
      Any tags assigned to the subnet.
      Specified by:
      getTags in interface CfnSubnetProps
    • $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