# CfnTransitGatewayConnectPeerProps

Properties for defining a `CfnTransitGatewayConnectPeer`.

Extends: CfnTransitGatewayConnectPeerProps
Used as props by: CfnTransitGatewayConnectPeer

- Source: Generated code
- Type last changed: v2.211.0 · 13 Aug 2025

## 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

- `connectPeerConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTransitGatewayConnectPeer.TransitGatewayConnectPeerConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnTransitGatewayConnectPeer.TransitGatewayConnectPeerConfigurationProperty.html) (required) — The Connect peer details.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags for the Connect peer.

- `transitGatewayAttachmentId`: string (required) — The ID of the Connect attachment.
