# CfnConnectionProps

Properties for defining a `CfnConnection`.

Extends: CfnConnectionProps
Used as props by: CfnConnection

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## 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 cfnConnectionProps: networkmanager.CfnConnectionProps = {
  connectedDeviceId: 'connectedDeviceId',
  deviceId: 'deviceId',
  globalNetworkId: 'globalNetworkId',

  // the properties below are optional
  connectedLinkId: 'connectedLinkId',
  description: 'description',
  linkId: 'linkId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `connectedDeviceId`: string (required) — The ID of the second device in the connection.

- `connectedLinkId`: string — The ID of the link for the second device.

- `description`: string — The description of the connection.

- `deviceId`: string (required) — The ID of the first device in the connection.

- `globalNetworkId`: string (required) — The ID of the global network that the connection belongs to.

- `linkId`: string — The ID of the link for the first device.

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