Class SubnetConfiguration.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class SubnetConfiguration.Jsii$Proxy extends implements SubnetConfiguration
An implementation for SubnetConfiguration
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      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
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object