CfnSubnetRouteTableAssociationMixinProps

class aws_cdk.cfn_property_mixins.aws_ec2.CfnSubnetRouteTableAssociationMixinProps(*, route_table_id=None, subnet_id=None)

Bases: object

Properties for CfnSubnetRouteTableAssociationPropsMixin.

Parameters:
  • route_table_id (Union[str, IRouteTableRef, None]) – The ID of the route table. The physical ID changes when the route table ID is changed.

  • subnet_id (Union[str, ISubnetRef, None]) – The ID of the subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetroutetableassociation.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_ec2 as ec2

cfn_subnet_route_table_association_mixin_props = ec2.CfnSubnetRouteTableAssociationMixinProps(
    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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetroutetableassociation.html#cfn-ec2-subnetroutetableassociation-routetableid

subnet_id

The ID of the subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetroutetableassociation.html#cfn-ec2-subnetroutetableassociation-subnetid