AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::TransitGatewayConnect

CfnTransitGatewayConnect

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance. A Connect attachment uses an existing VPC or AWS Direct Connect attachment as the underlying transport mechanism.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnTransitGatewayConnectProps.

optionsRequired
IResolvable | TransitGatewayConnectOptionsProperty

The Connect attachment options. - protocol (gre)

transportTransitGatewayAttachmentIdRequired
string | ITransitGatewayVpcAttachmentRef

The ID of the attachment from which the Connect attachment was created.

tagsOptional
CfnTag[]

The tags for the attachment.

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