Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateDirectConnectGatewayAssociationCommand

Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.

example

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

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

CreateDirectConnectGatewayAssociationCommandInput for command's input shape.

see

CreateDirectConnectGatewayAssociationCommandOutput for command's response shape.

see

config for DirectConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateDirectConnectGatewayAssociationCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions