Class VpcLookupOptions.Jsii$Proxy
- All Implemented Interfaces:
VpcLookupOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
VpcLookupOptions
VpcLookupOptions
-
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.VpcLookupOptions
VpcLookupOptions.Builder, VpcLookupOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(VpcLookupOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theVpcLookupOptions.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 TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
Whether to match the default VPC.final String
The ID of the AWS account that owns the VPC.final String
Optional to override inferred region.final Boolean
Whether to look up whether a VPN Gateway is attached to the looked up VPC.final String
Optional tag for subnet group name.getTags()
Tags on the VPC.final String
getVpcId()
The ID of the VPC.final String
The name of the VPC.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theVpcLookupOptions.Builder
.
-
-
Method Details
-
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 interfaceVpcLookupOptions
-
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 interfaceVpcLookupOptions
-
getRegion
Description copied from interface:VpcLookupOptions
Optional to override inferred region.Default: Current stack's environment region
- Specified by:
getRegion
in interfaceVpcLookupOptions
-
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
totrue
or undefined, you may need to clear the corresponding context entry incdk.context.json
in order to trigger a new lookup.Default: true
- Specified by:
getReturnVpnGateways
in interfaceVpcLookupOptions
-
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 interfaceVpcLookupOptions
-
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 interfaceVpcLookupOptions
-
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 interfaceVpcLookupOptions
-
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 interfaceVpcLookupOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-