Class SubnetConfiguration.Jsii$Proxy

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

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

    • getName

      public final String getName()
      Description copied from interface: SubnetConfiguration
      Logical name for the subnet group.

      This name can be used when selecting VPC subnets to distinguish between different subnet groups of the same type.

      Specified by:
      getName in interface SubnetConfiguration
    • getSubnetType

      public final SubnetType getSubnetType()
      Description copied from interface: SubnetConfiguration
      The type of Subnet to configure.

      The Subnet type will control the ability to route and connect to the Internet.

      Specified by:
      getSubnetType in interface SubnetConfiguration
    • getCidrMask

      public final Number getCidrMask()
      Description copied from interface: SubnetConfiguration
      The number of leading 1 bits in the routing mask.

      The number of available IP addresses in each subnet of this group will be equal to 2^(32 - cidrMask) - 2.

      Valid values are 16--28.

      Default: - Available IP space is evenly divided across subnets.

      Specified by:
      getCidrMask in interface SubnetConfiguration
    • getMapPublicIpOnLaunch

      public final Boolean getMapPublicIpOnLaunch()
      Description copied from interface: SubnetConfiguration
      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 SubnetConfiguration
    • getReserved

      public final Boolean getReserved()
      Description copied from interface: SubnetConfiguration
      Controls if subnet IP space needs to be reserved.

      When true, the IP space for the subnet is reserved but no actual resources are provisioned. This space is only dependent on the number of availability zones and on cidrMask - all other subnet properties are ignored.

      Default: false

      Specified by:
      getReserved in interface SubnetConfiguration
    • $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