CmdID / aws / aws directconnect
aws directconnect disassociate-connection-from-lag
Disassociates a connection from a link aggregation group (LAG). AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To disassociate a connection from a LAG
The following disassociate-connection-from-lag example disassociates the specified connection from the specified LAG.
aws directconnect disassociate-connection-from-lag --lag-id dxlag-fhccu14t --connection-id dxcon-fg9607vmIdentify--lag-idThe ID of the LAG.--connection-idThe ID of the connection.Its output
{
"ownerAccount": "123456789012",
"connectionId": "dxcon-fg9607vm",
"connectionState": "requested",
"bandwidth": "1Gbps",
"location": "EqDC2",
"connectionName": "Con2ForLag",
"region": "us-west-2"
}For more information, see Disassociate a connection from a LAG at a Direct Connect endpoint in the AWS Direct Connect User Guide.
Options
--connection-idThe ID of the connection.--lag-idThe ID of the LAG.