VpcSubnet
- class aws_cdk.cx_api.VpcSubnet(*, availability_zone, route_table_id, subnet_id, cidr=None)
Bases:
object(deprecated) A subnet representation that the VPC provider uses.
- Parameters:
availability_zone (
str) – (deprecated) The code of the availability zone this subnet is in (for example, ‘us-west-2a’).route_table_id (
str) – (deprecated) The identifier of the route table for this subnet.subnet_id (
str) – (deprecated) The identifier of the subnet.cidr (
Optional[str]) – (deprecated) CIDR range of the subnet. Default: - CIDR information not available
- Deprecated:
The definition of this type has moved to
@aws-cdk/cloud-assembly-api.- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.cx_api as cx_api vpc_subnet = cx_api.VpcSubnet( availability_zone="availabilityZone", route_table_id="routeTableId", subnet_id="subnetId", # the properties below are optional cidr="cidr" )
Attributes
- availability_zone
(deprecated) The code of the availability zone this subnet is in (for example, ‘us-west-2a’).
- Stability:
deprecated
- cidr
(deprecated) CIDR range of the subnet.
- Default:
CIDR information not available
- Stability:
deprecated
- route_table_id
(deprecated) The identifier of the route table for this subnet.
- Stability:
deprecated
- subnet_id
(deprecated) The identifier of the subnet.
- Stability:
deprecated