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
    • getOwnerAccountId

      public final String getOwnerAccountId()
      Description copied from interface: VpcLookupOptions
      The ID of the AWS account that owns the VPC.

      Default: the account id of the parent stack

      Specified by:
      getOwnerAccountId 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
    • getReturnVpnGateways

      public final Boolean getReturnVpnGateways()
      Description copied from interface: VpcLookupOptions
      Whether to look up whether a VPN Gateway is attached to the looked up VPC.

      You can set this to false if you know the VPC does not have a VPN Gateway attached, in order to avoid an API call.

      If you change this property from false to true or undefined, you may need to clear the corresponding context entry in cdk.context.json in order to trigger a new lookup.

      Default: true

      Specified by:
      getReturnVpnGateways 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