CfnTransitGatewayPeeringAttachmentProps Struct
Properties for defining a CfnTransitGatewayPeeringAttachment.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayPeeringAttachmentProps: ec2.CfnTransitGatewayPeeringAttachmentProps = {
peerAccountId: 'peerAccountId',
peerRegion: 'peerRegion',
peerTransitGatewayId: 'peerTransitGatewayId',
transitGatewayId: 'transitGatewayId',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
peerAccountIdstringpeer_account_idstrpeerAccountIdStringPeerAccountIdstringPeerAccountId*stringrequired#The ID of the AWS account that owns the transit gateway.
The Region where the transit gateway that you want to create the peer for is located.
peerTransitGatewayIdstringpeer_transit_gateway_idstrpeerTransitGatewayIdStringPeerTransitGatewayIdstringPeerTransitGatewayId*stringrequired#The ID of the transit gateway in the PeerRegion.
The tags for the transit gateway peering attachment.
transitGatewayIdstring | ITransitGatewayReftransit_gateway_idtyping.Union[str, ITransitGatewayRef]transitGatewayIdStringTransitGatewayIdstringTransitGatewayIdinterface{}required#The ID of the transit gateway peering attachment.