Skip to content
v2.274.0

Experimental

@aws-cdk/aws-ec2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

TransitGatewayRouteTableAssociationProps Struct ​

Common properties for a Transit Gateway Route Table Association.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2_alpha from '@aws-cdk/aws-ec2-alpha';

declare const transitGatewayAttachment: ec2_alpha.ITransitGatewayAttachment;
declare const transitGatewayRouteTable: ec2_alpha.TransitGatewayRouteTable;
const transitGatewayRouteTableAssociationProps: ec2_alpha.TransitGatewayRouteTableAssociationProps = {
  transitGatewayRouteTable: transitGatewayRouteTable,
  transitGatewayVpcAttachment: transitGatewayAttachment,

  // the properties below are optional
  transitGatewayRouteTableAssociationName: 'transitGatewayRouteTableAssociationName',
};

Properties ​

transitGatewayRouteTableITransitGatewayRouteTabletransit_gateway_route_tableITransitGatewayRouteTabletransitGatewayRouteTableITransitGatewayRouteTableTransitGatewayRouteTableITransitGatewayRouteTableTransitGatewayRouteTableITransitGatewayRouteTablerequired#
The ID of the transit gateway route table association.
transitGatewayRouteTableAssociationNamestringtransit_gateway_route_table_association_namestrtransitGatewayRouteTableAssociationNameStringTransitGatewayRouteTableAssociationNamestringTransitGatewayRouteTableAssociationName*string#
Physical name of this association.

Default: Assigned by CloudFormation.

transitGatewayVpcAttachmentITransitGatewayAttachmenttransit_gateway_vpc_attachmentITransitGatewayAttachmenttransitGatewayVpcAttachmentITransitGatewayAttachmentTransitGatewayVpcAttachmentITransitGatewayAttachmentTransitGatewayVpcAttachmentITransitGatewayAttachmentrequired#
The ID of the transit gateway route table association.