CfnTransitGatewayRouteTableAssociationProps

class aws_cdk.aws_ec2.CfnTransitGatewayRouteTableAssociationProps(*, transit_gateway_attachment_id, transit_gateway_route_table_id)

Bases: object

Properties for defining a CfnTransitGatewayRouteTableAssociation.

Parameters:
  • transit_gateway_attachment_id (str) – The ID of the attachment.

  • transit_gateway_route_table_id (str) – The ID of the route table for the transit gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetableassociation.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_association_props = ec2.CfnTransitGatewayRouteTableAssociationProps(
    transit_gateway_attachment_id="transitGatewayAttachmentId",
    transit_gateway_route_table_id="transitGatewayRouteTableId"
)

Attributes

transit_gateway_attachment_id

The ID of the attachment.

See:

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

transit_gateway_route_table_id

The ID of the route table for the transit gateway.

See:

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