# CfnConnectPeerProps

Properties for defining a `CfnConnectPeer`.

Extends: CfnConnectPeerProps
Used as props by: CfnConnectPeer

- Source: Generated code
- Type last changed: v2.103.0 · 26 Oct 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const cfnConnectPeerProps: networkmanager.CfnConnectPeerProps = {
  connectAttachmentId: 'connectAttachmentId',
  peerAddress: 'peerAddress',

  // the properties below are optional
  bgpOptions: {
    peerAsn: 123,
  },
  coreNetworkAddress: 'coreNetworkAddress',
  insideCidrBlocks: ['insideCidrBlocks'],
  subnetArn: 'subnetArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `bgpOptions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectPeer.BgpOptionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networkmanager.CfnConnectPeer.BgpOptionsProperty.html) — Describes the BGP options.

- `connectAttachmentId`: string (required) — The ID of the attachment to connect.

- `coreNetworkAddress`: string — The IP address of a core network.

- `insideCidrBlocks`: string[] — The inside IP addresses used for a Connect peer configuration.

- `peerAddress`: string (required) — The IP address of the Connect peer.

- `subnetArn`: string — The subnet ARN of the Connect peer.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The list of key-value tags associated with the Connect peer.
