# CfnTransitGatewayConnectProps

Properties for defining a `CfnTransitGatewayConnect`.

Extends: CfnTransitGatewayConnectProps
Used as props by: CfnTransitGatewayConnect

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 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 cfnTransitGatewayConnectProps: ec2.CfnTransitGatewayConnectProps = {
  options: {
    protocol: 'protocol',
  },
  transportTransitGatewayAttachmentId: 'transportTransitGatewayAttachmentId',

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

## Properties

- `options`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty.html) (required) — The Connect attachment options.

  - protocol (gre)

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

- `transportTransitGatewayAttachmentId`: string | [ITransitGatewayVpcAttachmentRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.ITransitGatewayVpcAttachmentRef.html) (required) — The ID of the attachment from which the Connect attachment was created.
