interface TransitGatewayAttachmentReference
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.EC2.TransitGatewayAttachmentReference | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#TransitGatewayAttachmentReference | 
|  Java | software.amazon.awscdk.services.ec2.TransitGatewayAttachmentReference | 
|  Python | aws_cdk.aws_ec2.TransitGatewayAttachmentReference | 
|  TypeScript | aws-cdk-lib»aws_ec2»TransitGatewayAttachmentReference | 
A reference to a TransitGatewayAttachment resource.
Example
// 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 transitGatewayAttachmentReference: ec2.TransitGatewayAttachmentReference = {
  transitGatewayAttachmentId: 'transitGatewayAttachmentId',
};
Properties
| Name | Type | Description | 
|---|---|---|
| transit | string | The Id of the TransitGatewayAttachment resource. | 
transitGatewayAttachmentId
Type:
string
The Id of the TransitGatewayAttachment resource.
