Delete one or more virtual interfaces. Before you can delete a connection, you must delete its virtual interface. Deleting a virtual interface stops AWS Direct Connect data transfer charges associated with the virtual interface.
You can delete a virtual interface using either the AWS Direct Connect console or the command line or API.
To delete a virtual interface
Open the AWS Direct Connect console at https://console.aws.amazon.com/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 (AWS CLI)
-
DeleteVirtualInterface (AWS Direct Connect API)