AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::TransitGatewayRouteTablePropagation

CfnTransitGatewayRouteTablePropagation

Enables the specified attachment to propagate routes to the specified propagation route table. For more information about enabling transit gateway route propagation, see [EnableTransitGatewayRouteTablePropagation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableTransitGatewayRouteTablePropagation.html) in the *Amazon EC2 API Reference* .

Import

import { CfnTransitGatewayRouteTablePropagation } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnTransitGatewayRouteTablePropagation

Properties

Configuration passed to the constructor as CfnTransitGatewayRouteTablePropagationProps.

transitGatewayAttachmentIdRequired
string | ITransitGatewayAttachmentRef

The ID of the attachment.

transitGatewayRouteTableIdRequired
string | ITransitGatewayRouteTableRef

The ID of the propagation route table.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic