Interface VpcContextQuery
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.704Z")
@Stability(Stable)
public interface VpcContextQuery
extends software.amazon.jsii.JsiiSerializable
Query input for looking up a VPC.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cloudassembly.schema.*; VpcContextQuery vpcContextQuery = VpcContextQuery.builder() .account("account") .filter(Map.of( "filterKey", "filter")) .region("region") // the properties below are optional .lookupRoleArn("lookupRoleArn") .returnAsymmetricSubnets(false) .subnetGroupNameTag("subnetGroupNameTag") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forVpcContextQuery
static final class
An implementation forVpcContextQuery
-
Method Summary
Modifier and TypeMethodDescriptionstatic VpcContextQuery.Builder
builder()
Query account.Filters to apply to the VPC.default String
The ARN of the role that should be used to look up the missing values.Query region.default Boolean
Whether to populate the subnetGroups field of theVpcContextResponse
, which contains potentially asymmetric subnet groups.default String
Optional tag for subnet group name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccount
Query account. -
getFilter
Filters to apply to the VPC.Filter parameters are the same as passed to DescribeVpcs.
-
getRegion
Query region. -
getLookupRoleArn
The ARN of the role that should be used to look up the missing values.Default: - None
-
getReturnAsymmetricSubnets
Whether to populate the subnetGroups field of theVpcContextResponse
, which contains potentially asymmetric subnet groups.Default: false
-
getSubnetGroupNameTag
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'
-
builder
- Returns:
- a
VpcContextQuery.Builder
ofVpcContextQuery
-