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.
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.
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);
CreateDirectConnectGatewayAssociationCommandInput for command's
input
shape.CreateDirectConnectGatewayAssociationCommandOutput for command's
response
shape.config for DirectConnectClient's
config
shape.