AWS::EC2::TransitGatewayPeeringAttachmentRequests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter). The peer transit gateway can be in your account or a different AWS account . After you create the peering attachment, the owner of the accepter transit gateway must accept the attachment request.
import { CfnTransitGatewayPeeringAttachment } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnTransitGatewayPeeringAttachmentConfiguration passed to the constructor as CfnTransitGatewayPeeringAttachmentProps.
peerAccountIdRequiredstringThe ID of the AWS account that owns the transit gateway.
peerRegionRequiredstringThe Region where the transit gateway that you want to create the peer for is located.
peerTransitGatewayIdRequiredstringThe ID of the transit gateway in the PeerRegion.
transitGatewayIdRequiredstring | ITransitGatewayRefThe ID of the transit gateway peering attachment.
tagsOptionalCfnTag[]The tags for the transit gateway peering attachment.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::TransitGatewayPeeringAttachment