# TransitGatewayAttachmentReference

A reference to a TransitGatewayAttachment resource.

- Source: Generated code
- Type last changed: v2.224.0 · 13 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 interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const transitGatewayAttachmentReference: interfaces_ec2.TransitGatewayAttachmentReference = {
  transitGatewayAttachmentId: 'transitGatewayAttachmentId',
};
```

## Properties

- `transitGatewayAttachmentId`: string (required) — The Id of the TransitGatewayAttachment resource.
