SubnetAttributes

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

Bases: object

__init__(*, subnet_id, availability_zone=None, route_table_id=None)
Parameters
  • subnet_id (str) – The subnetId for this particular subnet.

  • availability_zone (Optional[str]) – The Availability Zone the subnet is located in. Default: - No AZ information, cannot use AZ selection features

  • route_table_id (Optional[str]) – The ID of the route table for this particular subnet. Default: - No route table information, cannot create VPC endpoints

Return type

None

Attributes

availability_zone

The Availability Zone the subnet is located in.

default :default: - No AZ information, cannot use AZ selection features

Return type

Optional[str]

route_table_id

The ID of the route table for this particular subnet.

default :default: - No route table information, cannot create VPC endpoints

Return type

Optional[str]

subnet_id

The subnetId for this particular subnet.

Return type

str