If you no longer need a connection, you can delete it.
To delete a connection
Access the Network Manager console at https://console.aws.amazon.com/networkmanager/home/
. -
Under Connectivity, choose Global Networks.
-
On the Global networks page, choose the global network ID.
-
In the navigation pane, choose Devices, and select the device.
-
Choose Connections, and select the connection.
-
Choose Delete.
-
When prompted for confirmation, choose Delete.
To delete a connection using the AWS CLI
Use the delete-connection