CfnTransitGatewayConnectPeerProps Struct
Properties for defining a CfnTransitGatewayConnectPeer.
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 cfnTransitGatewayConnectPeerProps: ec2.CfnTransitGatewayConnectPeerProps = {
connectPeerConfiguration: {
insideCidrBlocks: ['insideCidrBlocks'],
peerAddress: 'peerAddress',
// the properties below are optional
bgpConfigurations: [{
bgpStatus: 'bgpStatus',
peerAddress: 'peerAddress',
peerAsn: 123,
transitGatewayAddress: 'transitGatewayAddress',
transitGatewayAsn: 123,
}],
protocol: 'protocol',
transitGatewayAddress: 'transitGatewayAddress',
},
transitGatewayAttachmentId: 'transitGatewayAttachmentId',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
connectPeerConfigurationIResolvable | CfnTransitGatewayConnectPeer.TransitGatewayConnectPeerConfigurationPropertyconnect_peer_configurationtyping.Union[IResolvable, TransitGatewayConnectPeerConfigurationProperty]connectPeerConfigurationIResolvableConnectPeerConfigurationIResolvableConnectPeerConfigurationinterface{}required#The Connect peer details.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The tags for the Connect peer.
transitGatewayAttachmentIdstringtransit_gateway_attachment_idstrtransitGatewayAttachmentIdStringTransitGatewayAttachmentIdstringTransitGatewayAttachmentId*stringrequired#The ID of the Connect attachment.