CmdID

CmdID / aws / aws directconnect

aws directconnect allocate-hosted-connection

Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. AWS CLI reference

1 example 6 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 hosted connection on an interconnect

The following allocate-hosted-connection example creates a hosted connection on the specified interconnect.

aws directconnect allocate-hosted-connection --bandwidth 500Mbps --connection-name mydcinterconnect --owner-account 123456789012 --connection-id dxcon-fgktov66 --vlan 101Identify
--bandwidthThe bandwidth of the connection.
--connection-nameThe name of the hosted connection.
--owner-accountThe ID of the Amazon Web Services account ID of the customer for the connection.
--connection-idThe ID of the interconnect or LAG.
--vlanThe dedicated VLAN provisioned to the hosted connection.
Its output
{
    "partnerName": "TIVIT",
    "vlan": 101,
    "ownerAccount": "123456789012",
    "connectionId": "dxcon-ffzc51m1",
    "connectionState": "ordering",
    "bandwidth": "500Mbps",
    "location": "TIVIT",
    "connectionName": "mydcinterconnect",
    "region": "us-west-2"
}

For more information, see Hosted Direct Connect connections in the AWS Direct Connect User Guide.

Options

6 in the AWS CLI reference
--bandwidthThe bandwidth of the connection.
--connection-idThe ID of the interconnect or LAG.
--connection-nameThe name of the hosted connection.
--owner-accountThe ID of the Amazon Web Services account ID of the customer for the connection.
--tagsThe tags associated with the connection.
--vlanThe dedicated VLAN provisioned to the hosted connection.