Delete an Amazon Direct Connect virtual interface
Delete one or more virtual interfaces. Before you can delete a connection, you must delete its virtual interface. Deleting a virtual interface stops Amazon Direct Connect data transfer charges associated with the virtual interface.
You can delete a virtual interface using either the Amazon Direct Connect console or the command line or API.
To delete a virtual interface
Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home
. -
In the left pane, choose Virtual Interfaces.
-
Select the virtual interfaces and then choose Delete.
-
In the Delete confirmation dialog box, choose Delete.
To delete a virtual interface using the command line or API
-
delete-virtual-interface (Amazon CLI)
-
DeleteVirtualInterface (Amazon Direct Connect API)