Delete an Amazon Direct Connect endpoint LAG
If you no longer need LAGs, you can delete them. You cannot delete a LAG if it has virtual interfaces associated with it. You must first delete the virtual interfaces, or associate them with a different LAG or connection. Deleting a LAG does not delete the connections in the LAG; you must delete the connections yourself. For more information, see Delete a connection.
You can delete a LAG using either the Amazon Direct Connect console or using the command line or API.
To delete a LAG
Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home
. -
In the navigation pane, choose LAGs.
-
Select the LAGs, and then choose Delete.
-
In the confirmation dialog box, choose Delete.
To delete a LAG using the command line or API
delete-lag (Amazon CLI)
DeleteLag (Amazon Direct Connect API)