CmdID

CmdID / aws / aws directconnect

aws directconnect create-direct-connect-gateway

Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a Direct Connect gateway

The following create-direct-connect-gateway example creates a Direct Connect gateway with the name DxGateway1.

aws directconnect create-direct-connect-gateway --direct-connect-gateway-name "DxGateway1"Identify
--direct-connect-gateway-nameThe name of the Direct Connect gateway.
Its output
{
    "directConnectGateway": {
        "amazonSideAsn": 64512,
        "directConnectGatewayId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "ownerAccount": "123456789012",
        "directConnectGatewayName": "DxGateway1",
        "directConnectGatewayState": "available"
    }
}

For more information, see Create a Direct Connect gateway in the AWS Direct Connect User Guide.

Options

3 in the AWS CLI reference
--amazon-side-asnThe autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection.
--direct-connect-gateway-nameThe name of the Direct Connect gateway.
--tagsThe key-value pair tags associated with the request.