CfnTransitGatewayRouteTableProps

class aws_cdk.aws_ec2.CfnTransitGatewayRouteTableProps(*, transit_gateway_id, tags=None)

Bases: object

Properties for defining a CfnTransitGatewayRouteTable.

Parameters:
  • transit_gateway_id (str) – The ID of the transit gateway.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Any tags assigned to the route table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetable.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 import aws_ec2 as ec2

cfn_transit_gateway_route_table_props = ec2.CfnTransitGatewayRouteTableProps(
    transit_gateway_id="transitGatewayId",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

tags

Any tags assigned to the route table.

See:

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

transit_gateway_id

The ID of the transit gateway.

See:

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