Class VpcLookupOptions.Jsii$Proxy

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

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

    • getIsDefault

      public final Boolean getIsDefault()
      Description copied from interface: VpcLookupOptions
      Whether to match the default VPC.

      Default: Don't care whether we return the default VPC

      Specified by:
      getIsDefault in interface VpcLookupOptions
    • getRegion

      public final String getRegion()
      Description copied from interface: VpcLookupOptions
      Optional to override inferred region.

      Default: Current stack's environment region

      Specified by:
      getRegion in interface VpcLookupOptions
    • getSubnetGroupNameTag

      public final String getSubnetGroupNameTag()
      Description copied from interface: VpcLookupOptions
      Optional tag for subnet group name.

      If not provided, we'll look at the aws-cdk:subnet-name tag. If the subnet does not have the specified tag, we'll use its type as the name.

      Default: aws-cdk:subnet-name

      Specified by:
      getSubnetGroupNameTag in interface VpcLookupOptions
    • getTags

      public final Map<String,String> getTags()
      Description copied from interface: VpcLookupOptions
      Tags on the VPC.

      The VPC must have all of these tags

      Default: Don't filter on tags

      Specified by:
      getTags in interface VpcLookupOptions
    • getVpcId

      public final String getVpcId()
      Description copied from interface: VpcLookupOptions
      The ID of the VPC.

      If given, will import exactly this VPC.

      Default: Don't filter on vpcId

      Specified by:
      getVpcId in interface VpcLookupOptions
    • getVpcName

      public final String getVpcName()
      Description copied from interface: VpcLookupOptions
      The name of the VPC.

      If given, will import the VPC with this name.

      Default: Don't filter on vpcName

      Specified by:
      getVpcName in interface VpcLookupOptions
    • $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