Delete an Amazon Direct Connect gateway - Amazon Direct Connect
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Delete an Amazon Direct Connect gateway

If you no longer require a Direct Connect gateway, you can delete it. You must first disassociate all associated virtual private gateways and delete the attached private virtual interface. Once you've disassociated any associated virtual private gateways and deleted any attached virtual private interfaces, you can delete the Direct Connect gateway using either the Amazon Direct Connect console or using the command line or API.

To delete a Direct Connect gateway
  1. Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home.

  2. In the navigation pane, choose Direct Connect Gateways.

  3. Select the gateways and choose Delete.

To delete a Direct Connect gateway using the command line or API