Skip to content
v2.274.0

CfnTransitGatewayConnectProps Struct ​

Properties for defining a CfnTransitGatewayConnect.

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 ​

The Connect attachment options.
  • protocol (gre)
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags for the attachment.
transportTransitGatewayAttachmentIdstring | ITransitGatewayVpcAttachmentReftransport_transit_gateway_attachment_idtyping.Union[str, ITransitGatewayVpcAttachmentRef]transportTransitGatewayAttachmentIdStringTransportTransitGatewayAttachmentIdstringTransportTransitGatewayAttachmentIdinterface{}required#
The ID of the attachment from which the Connect attachment was created.