VpcSubnet

class aws_cdk.cx_api.VpcSubnet(*, availability_zone, route_table_id, subnet_id, cidr=None)

Bases: object

(experimental) A subnet representation that the VPC provider uses.

Parameters
  • availability_zone (str) – (experimental) The code of the availability zone this subnet is in (for example, ‘us-west-2a’).

  • route_table_id (str) – (experimental) The identifier of the route table for this subnet.

  • subnet_id (str) – (experimental) The identifier of the subnet.

  • cidr (Optional[str]) – (experimental) CIDR range of the subnet. Default: - CIDR information not available

Stability

experimental

Attributes

availability_zone

(experimental) The code of the availability zone this subnet is in (for example, ‘us-west-2a’).

Stability

experimental

Return type

str

cidr

(experimental) CIDR range of the subnet.

Default
  • CIDR information not available

Stability

experimental

Return type

Optional[str]

route_table_id

(experimental) The identifier of the route table for this subnet.

Stability

experimental

Return type

str

subnet_id

(experimental) The identifier of the subnet.

Stability

experimental

Return type

str