Class VpcV2Attributes.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class VpcV2Attributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements VpcV2Attributes
An implementation for VpcV2Attributes
  • 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.alpha.VpcV2Attributes

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the VpcV2Attributes.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
    (experimental) The ID of the AWS account that owns the imported VPC required in case of cross account VPC as given value will be used to set field account for imported VPC, which then later can be used for establishing VPC peering connection.
    final String
    (experimental) Region in which imported VPC is hosted required in case of cross region VPC as given value will be used to set field region for imported VPC, which then later can be used for establishing VPC peering connection.
    (experimental) Import Secondary CIDR blocks associated with VPC.
    (experimental) Subnets associated with imported VPC.
    final String
    (experimental) Primary VPC CIDR Block of the imported VPC Can only be IPv4.
    final String
    (experimental) The VPC ID Refers to physical Id of the resource.
    final String
    (experimental) A VPN Gateway is attached to 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(VpcV2Attributes.Builder builder)
      Constructor that initializes the object based on literal property values passed by the VpcV2Attributes.Builder.
  • Method Details

    • getVpcCidrBlock

      public final String getVpcCidrBlock()
      Description copied from interface: VpcV2Attributes
      (experimental) Primary VPC CIDR Block of the imported VPC Can only be IPv4.
      Specified by:
      getVpcCidrBlock in interface VpcV2Attributes
    • getVpcId

      public final String getVpcId()
      Description copied from interface: VpcV2Attributes
      (experimental) The VPC ID Refers to physical Id of the resource.
      Specified by:
      getVpcId in interface VpcV2Attributes
    • getOwnerAccountId

      public final String getOwnerAccountId()
      Description copied from interface: VpcV2Attributes
      (experimental) The ID of the AWS account that owns the imported VPC required in case of cross account VPC as given value will be used to set field account for imported VPC, which then later can be used for establishing VPC peering connection.

      Default: - constructed with stack account value

      Specified by:
      getOwnerAccountId in interface VpcV2Attributes
    • getRegion

      public final String getRegion()
      Description copied from interface: VpcV2Attributes
      (experimental) Region in which imported VPC is hosted required in case of cross region VPC as given value will be used to set field region for imported VPC, which then later can be used for establishing VPC peering connection.

      Default: - constructed with stack region value

      Specified by:
      getRegion in interface VpcV2Attributes
    • getSecondaryCidrBlocks

      public final List<VPCCidrBlockattributes> getSecondaryCidrBlocks()
      Description copied from interface: VpcV2Attributes
      (experimental) Import Secondary CIDR blocks associated with VPC.

      Default: - No secondary IP address

      Specified by:
      getSecondaryCidrBlocks in interface VpcV2Attributes
    • getSubnets

      public final List<SubnetV2Attributes> getSubnets()
      Description copied from interface: VpcV2Attributes
      (experimental) Subnets associated with imported VPC.

      Default: - no subnets provided to be imported

      Specified by:
      getSubnets in interface VpcV2Attributes
    • getVpnGatewayId

      public final String getVpnGatewayId()
      Description copied from interface: VpcV2Attributes
      (experimental) A VPN Gateway is attached to the VPC.

      Default: - No VPN Gateway

      Specified by:
      getVpnGatewayId in interface VpcV2Attributes
    • $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