interface VpcSubnet
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.CXAPI.VpcSubnet | 
  Java | software.amazon.awscdk.cxapi.VpcSubnet | 
  Python | aws_cdk.cx_api.VpcSubnet | 
  TypeScript (source) | @aws-cdk/cx-api » VpcSubnet | 
A subnet representation that the VPC provider uses.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cx_api from '@aws-cdk/cx-api';
const vpcSubnet: cx_api.VpcSubnet = {
  availabilityZone: 'availabilityZone',
  routeTableId: 'routeTableId',
  subnetId: 'subnetId',
  // the properties below are optional
  cidr: 'cidr',
};
Properties
| Name | Type | Description | 
|---|---|---|
| availability | string | The code of the availability zone this subnet is in (for example, 'us-west-2a'). | 
| route | string | The identifier of the route table for this subnet. | 
| subnet | string | The identifier of the subnet. | 
| cidr? | string | CIDR range of the subnet. | 
availabilityZone
Type:
string
The code of the availability zone this subnet is in (for example, 'us-west-2a').
routeTableId
Type:
string
The identifier of the route table for this subnet.
subnetId
Type:
string
The identifier of the subnet.
cidr?
Type:
string
(optional, default: CIDR information not available)
CIDR range of the subnet.

 .NET
 Java
 Python
 TypeScript (