PrivateSubnetAttributes

class aws_cdk.aws_ec2.PrivateSubnetAttributes(*, availability_zone, subnet_id, route_table_id=None)

Bases: aws_cdk.aws_ec2.SubnetAttributes

__init__(*, availability_zone, subnet_id, route_table_id=None)
Parameters
  • availability_zone (str) – The Availability Zone the subnet is located in.

  • subnet_id (str) – The subnetId for this particular subnet.

  • route_table_id (Optional[str]) – The ID of the route table for this particular subnet.

Attributes

availability_zone

The Availability Zone the subnet is located in.

Return type

str

route_table_id

The ID of the route table for this particular subnet.

Return type

Optional[str]

subnet_id

The subnetId for this particular subnet.

Return type

str