interface CfnTransitGatewayConnectPeerProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnTransitGatewayConnectPeerProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTransitGatewayConnectPeerProps |
Java | software.amazon.awscdk.services.ec2.CfnTransitGatewayConnectPeerProps |
Python | aws_cdk.aws_ec2.CfnTransitGatewayConnectPeerProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnTransitGatewayConnectPeerProps |
Properties for defining a CfnTransitGatewayConnectPeer.
Example
// 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
| Name | Type | Description |
|---|---|---|
| connect | IResolvable | Transit | The Connect peer details. |
| transit | string | The ID of the Connect attachment. |
| tags? | Cfn[] | The tags for the Connect peer. |
connectPeerConfiguration
Type:
IResolvable | Transit
The Connect peer details.
transitGatewayAttachmentId
Type:
string
The ID of the Connect attachment.
tags?
Type:
Cfn[]
(optional)
The tags for the Connect peer.

.NET
Go
Java
Python
TypeScript