Package software.amazon.awscdk.cxapi
Interface VpcSubnetGroup
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcSubnetGroup.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:21.390Z")
@Stability(Deprecated)
@Deprecated
public interface VpcSubnetGroup
extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) A group of subnets returned by the VPC provider.
The included subnets do NOT have to be symmetric!
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.*;
VpcSubnetGroup vpcSubnetGroup = 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcSubnetGroup.Builderbuilder()Deprecated.getName()Deprecated.Deprecated.getType()Deprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
Deprecated.(deprecated) The name of the subnet group, determined by looking at the tags of of the subnets that belong to it. -
getSubnets
Deprecated.(deprecated) The subnets that are part of this group.There is no condition that the subnets have to be symmetric in the group.
-
getType
Deprecated.(deprecated) The type of the subnet group. -
builder
Deprecated.- Returns:
- a
VpcSubnetGroup.BuilderofVpcSubnetGroup
-
@aws-cdk/cloud-assembly-api.