CfnSubnetRouteTableAssociationProps¶
-
class
aws_cdk.aws_ec2.
CfnSubnetRouteTableAssociationProps
(*, route_table_id, subnet_id)¶ Bases:
object
Properties for defining a
CfnSubnetRouteTableAssociation
.- Parameters
route_table_id (
str
) – The ID of the route table. The physical ID changes when the route table ID is changed.subnet_id (
str
) – The ID of the subnet.
- Link
- 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.aws_ec2 as ec2 cfn_subnet_route_table_association_props = ec2.CfnSubnetRouteTableAssociationProps( route_table_id="routeTableId", subnet_id="subnetId" )
Attributes
-
route_table_id
¶ The ID of the route table.
The physical ID changes when the route table ID is changed.
-
subnet_id
¶ The ID of the subnet.