VpcSubnet Struct
A subnet representation that the VPC provider uses.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cx_api } from 'aws-cdk-lib';
const vpcSubnet: cx_api.VpcSubnet = {
availabilityZone: 'availabilityZone',
routeTableId: 'routeTableId',
subnetId: 'subnetId',
// the properties below are optional
cidr: 'cidr',
};
Properties
availabilityZonestringavailability_zonestravailabilityZoneStringAvailabilityZonestringAvailabilityZone*stringrequired#The code of the availability zone this subnet is in (for example, 'us-west-2a').
CIDR range of the subnet.
Default: CIDR information not available
The identifier of the route table for this subnet.
The identifier of the subnet.