aws-cdk-lib.aws_ec2.CfnTransitGatewayConnectProps

interface CfnTransitGatewayConnectProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnTransitGatewayConnectProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTransitGatewayConnectProps
Javasoftware.amazon.awscdk.services.ec2.CfnTransitGatewayConnectProps
Pythonaws_cdk.aws_ec2.CfnTransitGatewayConnectProps
TypeScript aws-cdk-lib » aws_ec2 » CfnTransitGatewayConnectProps

Properties for defining a CfnTransitGatewayConnect.

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 cfnTransitGatewayConnectProps: ec2.CfnTransitGatewayConnectProps = {
  options: {
    protocol: 'protocol',
  },
  transportTransitGatewayAttachmentId: 'transportTransitGatewayAttachmentId',

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

Properties

NameTypeDescription
optionsIResolvable | TransitGatewayConnectOptionsPropertyThe Connect attachment options.
transportTransitGatewayAttachmentIdstringThe ID of the attachment from which the Connect attachment was created.
tags?CfnTag[]The tags for the attachment.

options

Type: IResolvable | TransitGatewayConnectOptionsProperty

The Connect attachment options.

  • protocol (gre)

transportTransitGatewayAttachmentId

Type: string

The ID of the attachment from which the Connect attachment was created.


tags?

Type: CfnTag[] (optional)

The tags for the attachment.