VpcContextQuery
Query input for looking up a VPC.
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema"
&alicloudroscdkassemblyschema.VpcContextQuery {
Account: *string,
Filter: *map[string]*string,
Region: *string,
ReturnAsymmetricSubnets: *bool,
SubnetGroupNameTag: *string,
}
Properties
| Name | Type | Description |
|---|---|---|
Account |
*string |
Query account. |
Filter |
map[string]string |
Filters to apply to the VPC. |
Region |
*string |
Query region. |
ReturnAsymmetricSubnets |
*bool |
Whether to populate the subnetGroups field of the {@link VpcContextResponse}, which contains potentially asymmetric subnet groups. |
SubnetGroupNameTag |
*string |
Optional tag for subnet group name. |
AccountRequired
Account *string
- Type: *string
Query account.
FilterRequired
Filter *map[string]*string
- Type: map[string]string
Filters to apply to the VPC.
Filter parameters are the same as passed to DescribeVpcs.
RegionRequired
Region *string
- Type: *string
Query region.
ReturnAsymmetricSubnetsOptional
ReturnAsymmetricSubnets *bool
- Type: *bool
- Default: false
Whether to populate the subnetGroups field of the {@link VpcContextResponse}, which contains potentially asymmetric subnet groups.
SubnetGroupNameTagOptional
SubnetGroupNameTag *string
- Type: *string
- Default: 'ros-cdk:subnet-name'
Optional tag for subnet group name.
If not provided, we'll look at the ros-cdk:subnet-name tag. If the subnet does not have the specified tag, we'll use its type as the name.