Class CfnVPCProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnVPCProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnVPCProps
An implementation for CfnVPCProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnVPCProps

    CfnVPCProps.Builder, CfnVPCProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnVPCProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The IPv4 network range for the VPC, in CIDR notation.
    final Object
    Indicates whether the instances launched in the VPC get DNS hostnames.
    final Object
    Indicates whether the DNS resolution is supported for the VPC.
    final String
    The allowed tenancy of instances launched into the VPC.
    final String
    The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR.
    final Number
    The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool.
    final List<CfnTag>
    The tags for the VPC.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(CfnVPCProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnVPCProps.Builder.
  • Method Details

    • getCidrBlock

      public final String getCidrBlock()
      Description copied from interface: CfnVPCProps
      The IPv4 network range for the VPC, in CIDR notation.

      For example, 10.0.0.0/16 . We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18 , we modify it to 100.68.0.0/18 .

      You must specify either CidrBlock or Ipv4IpamPoolId .

      Specified by:
      getCidrBlock in interface CfnVPCProps
    • getEnableDnsHostnames

      public final Object getEnableDnsHostnames()
      Description copied from interface: CfnVPCProps
      Indicates whether the instances launched in the VPC get DNS hostnames.

      If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs. For more information, see DNS attributes in your VPC .

      You can only enable DNS hostnames if you've enabled DNS support.

      Specified by:
      getEnableDnsHostnames in interface CfnVPCProps
    • getEnableDnsSupport

      public final Object getEnableDnsSupport()
      Description copied from interface: CfnVPCProps
      Indicates whether the DNS resolution is supported for the VPC.

      If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default. For more information, see DNS attributes in your VPC .

      Specified by:
      getEnableDnsSupport in interface CfnVPCProps
    • getInstanceTenancy

      public final String getInstanceTenancy()
      Description copied from interface: CfnVPCProps
      The allowed tenancy of instances launched into the VPC.

      • default : An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.
      • dedicated : An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy of host during instance launch. You cannot specify a tenancy of default during instance launch.

      Updating InstanceTenancy requires no replacement only if you are updating its value from dedicated to default . Updating InstanceTenancy from default to dedicated requires replacement.

      Specified by:
      getInstanceTenancy in interface CfnVPCProps
    • getIpv4IpamPoolId

      public final String getIpv4IpamPoolId()
      Description copied from interface: CfnVPCProps
      The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR.

      For more information, see What is IPAM? in the Amazon VPC IPAM User Guide .

      You must specify either CidrBlock or Ipv4IpamPoolId .

      Specified by:
      getIpv4IpamPoolId in interface CfnVPCProps
    • getIpv4NetmaskLength

      public final Number getIpv4NetmaskLength()
      Description copied from interface: CfnVPCProps
      The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool.

      For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .

      Specified by:
      getIpv4NetmaskLength in interface CfnVPCProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnVPCProps
      The tags for the VPC.
      Specified by:
      getTags in interface CfnVPCProps
    • $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