Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateTransitGatewayConnectCommand

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, CreateTransitGatewayConnectCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, CreateTransitGatewayConnectCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new CreateTransitGatewayConnectCommand(input);
const response = await client.send(command);
see

CreateTransitGatewayConnectCommandInput for command's input shape.

see

CreateTransitGatewayConnectCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateTransitGatewayConnectCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions