CfnTransitGatewayRouteTableProps

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

Bases: object

Properties for defining a AWS::EC2::TransitGatewayRouteTable.

Parameters
  • tags (Optional[Sequence[CfnTag]]) – AWS::EC2::TransitGatewayRouteTable.Tags.

  • transit_gateway_id (str) – AWS::EC2::TransitGatewayRouteTable.TransitGatewayId.

Link

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

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_transit_gateway_route_table_props = ec2.CfnTransitGatewayRouteTableProps(
    transit_gateway_id="transitGatewayId",

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

Attributes

tags

AWS::EC2::TransitGatewayRouteTable.Tags.

Link

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

Return type

Optional[List[CfnTag]]

transit_gateway_id

AWS::EC2::TransitGatewayRouteTable.TransitGatewayId.

Link

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

Return type

str