@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.867Z") @Stability(value=Stable) public interface VpcContextQuery extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
VpcContextQuery.Builder
A builder for
VpcContextQuery |
static class |
VpcContextQuery.Jsii$Proxy
An implementation for
VpcContextQuery |
| Modifier and Type | Method and Description |
|---|---|
static VpcContextQuery.Builder |
builder() |
String |
getAccount()
Query account.
|
Map<String,String> |
getFilter()
Filters to apply to the VPC.
|
default String |
getLookupRoleArn()
The ARN of the role that should be used to look up the missing values.
|
String |
getRegion()
Query region.
|
default Boolean |
getReturnAsymmetricSubnets()
Whether to populate the subnetGroups field of the
VpcContextResponse, which contains potentially asymmetric subnet groups. |
default String |
getSubnetGroupNameTag()
Optional tag for subnet group name.
|
@Stability(value=Stable) @NotNull String getAccount()
@Stability(value=Stable) @NotNull Map<String,String> getFilter()
Filter parameters are the same as passed to DescribeVpcs.
@Stability(value=Stable) @NotNull String getRegion()
@Stability(value=Stable) @Nullable default String getLookupRoleArn()
Default: - None
@Stability(value=Stable) @Nullable default Boolean getReturnAsymmetricSubnets()
VpcContextResponse, which contains potentially asymmetric subnet groups.
Default: false
@Stability(value=Stable) @Nullable default String getSubnetGroupNameTag()
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'
@Stability(value=Stable) static VpcContextQuery.Builder builder()
VpcContextQuery.Builder of VpcContextQueryCopyright © 2022. All rights reserved.