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
Examples
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
--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.