CmdID / aws / aws directconnect
aws directconnect create-connection
Creates a connection between a customer network and a specific Direct Connect location. AWS CLI reference
1 example 8 options Its page in the AWS CLI reference
Examples
To create a connection from your network to an AWS Direct Connect location
The following create-connection example creates a connection from your network to an AWS Direct Connect location.
aws directconnect create-connection --location TIVIT --bandwidth 1Gbps --connection-name "Connection to AWS"Identify--locationThe location of the connection.--bandwidthThe bandwidth of the connection.--connection-nameThe name of the connection.Its output
{
"ownerAccount": "123456789012",
"connectionId": "dxcon-fg31dyv6",
"connectionState": "requested",
"bandwidth": "1Gbps",
"location": "TIVIT",
"connectionName": "Connection to AWS",
"region": "us-west-2"
}For more information, see Dedicated Direct Connect connections in the AWS Direct Connect User Guide.
Options
--bandwidthThe bandwidth of the connection.--billing-modeThe billing mode for the connection.--connection-nameThe name of the connection.--lag-idThe ID of the LAG.--locationThe location of the connection.--provider-nameThe name of the service provider associated with the requested connection.--request-mac-secIndicates whether you want the connection to support MAC Security (MACsec).--tagsThe tags to associate with the lag.