CmdID / aws / aws directconnect
aws directconnect delete-connection
Deletes the specified connection. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a connection
The following delete-connection example deletes the specified connection.
aws directconnect delete-connection --connection-id dxcon-fg31dyv6Identify--connection-idThe ID of the connection.Its output
{
"ownerAccount": "123456789012",
"connectionId": "dxcon-fg31dyv6",
"connectionState": "deleted",
"bandwidth": "1Gbps",
"location": "TIVIT",
"connectionName": "Connection to AWS",
"region": "us-west-2"
}For more information, see Delete a Direct Connect connection in the AWS Direct Connect User Guide.
Options
--connection-idThe ID of the connection.