Interface VpcContextResponse
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcContextResponse.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cxapi.*;
VpcContextResponse vpcContextResponse = VpcContextResponse.builder()
.availabilityZones(List.of("availabilityZones"))
.vpcId("vpcId")
// the properties below are optional
.isolatedSubnetIds(List.of("isolatedSubnetIds"))
.isolatedSubnetNames(List.of("isolatedSubnetNames"))
.isolatedSubnetRouteTableIds(List.of("isolatedSubnetRouteTableIds"))
.ownerAccountId("ownerAccountId")
.privateSubnetIds(List.of("privateSubnetIds"))
.privateSubnetNames(List.of("privateSubnetNames"))
.privateSubnetRouteTableIds(List.of("privateSubnetRouteTableIds"))
.publicSubnetIds(List.of("publicSubnetIds"))
.publicSubnetNames(List.of("publicSubnetNames"))
.publicSubnetRouteTableIds(List.of("publicSubnetRouteTableIds"))
.region("region")
.subnetGroups(List.of(VpcSubnetGroup.builder()
.name("name")
.subnets(List.of(VpcSubnet.builder()
.availabilityZone("availabilityZone")
.routeTableId("routeTableId")
.subnetId("subnetId")
// the properties below are optional
.cidr("cidr")
.build()))
.type(VpcSubnetGroupType.PUBLIC)
.build()))
.vpcCidrBlock("vpcCidrBlock")
.vpnGatewayId("vpnGatewayId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcContextResponse.Builderbuilder()Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.default StringDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.default StringDeprecated.default List<VpcSubnetGroup> Deprecated.default StringDeprecated.getVpcId()Deprecated.default StringDeprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAvailabilityZones
Deprecated.(deprecated) AZs. -
getVpcId
Deprecated.(deprecated) VPC id. -
getIsolatedSubnetIds
Deprecated.(deprecated) IDs of all isolated subnets.Element count: #(availabilityZones) · #(isolatedGroups)
-
getIsolatedSubnetNames
Deprecated.(deprecated) Name of isolated subnet groups.Element count: #(isolatedGroups)
-
getIsolatedSubnetRouteTableIds
Deprecated.(deprecated) Route Table IDs of isolated subnet groups.Element count: #(availabilityZones) · #(isolatedGroups)
-
getOwnerAccountId
Deprecated.(deprecated) The ID of the AWS account that owns the VPC.Default: the account id of the parent stack
-
getPrivateSubnetIds
Deprecated.(deprecated) IDs of all private subnets.Element count: #(availabilityZones) · #(privateGroups)
-
getPrivateSubnetNames
Deprecated.(deprecated) Name of private subnet groups.Element count: #(privateGroups)
-
getPrivateSubnetRouteTableIds
Deprecated.(deprecated) Route Table IDs of private subnet groups.Element count: #(availabilityZones) · #(privateGroups)
-
getPublicSubnetIds
Deprecated.(deprecated) IDs of all public subnets.Element count: #(availabilityZones) · #(publicGroups)
-
getPublicSubnetNames
Deprecated.(deprecated) Name of public subnet groups.Element count: #(publicGroups)
-
getPublicSubnetRouteTableIds
Deprecated.(deprecated) Route Table IDs of public subnet groups.Element count: #(availabilityZones) · #(publicGroups)
-
getRegion
Deprecated.(deprecated) The region in which the VPC is in.Default: - Region of the parent stack
-
getSubnetGroups
Deprecated.(deprecated) The subnet groups discovered for the given VPC.Unlike the above properties, this will include asymmetric subnets, if the VPC has any. This property will only be populated if
VpcContextQuery.returnAsymmetricSubnetsis true.Default: - no subnet groups will be returned unless `VpcContextQuery.returnAsymmetricSubnets` is true
-
getVpcCidrBlock
Deprecated.(deprecated) VPC cidr.Default: - CIDR information not available
-
getVpnGatewayId
Deprecated.(deprecated) The VPN gateway ID. -
builder
Deprecated.- Returns:
- a
VpcContextResponse.BuilderofVpcContextResponse
-
@aws-cdk/cloud-assembly-api.