Skip to content

Resource: awsEc2TransitGatewayRouteTablePropagation

Manages an EC2 Transit Gateway Route Table propagation.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.ec2TransitGatewayRouteTablePropagation.Ec2TransitGatewayRouteTablePropagation(
  this,
  "example",
  {
    transitGatewayAttachmentId:
      "${aws_ec2_transit_gateway_vpc_attachment.example.id}",
    transitGatewayRouteTableId:
      "${aws_ec2_transit_gateway_route_table.example.id}",
  }
);

Argument Reference

The following arguments are supported:

  • transitGatewayAttachmentId - (Required) Identifier of EC2 Transit Gateway Attachment.
  • transitGatewayRouteTableId - (Required) Identifier of EC2 Transit Gateway Route Table.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - EC2 Transit Gateway Route Table identifier combined with EC2 Transit Gateway Attachment identifier
  • resourceId - Identifier of the resource
  • resourceType - Type of the resource

Import

awsEc2TransitGatewayRouteTablePropagation can be imported by using the EC2 Transit Gateway Route Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier, e.g.,

$ terraform import aws_ec2_transit_gateway_route_table_propagation.example tgw-rtb-12345678_tgw-attach-87654321