Delete an AWS Site-to-Site VPN customer gateway - AWS Site-to-Site VPN
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Delete an AWS Site-to-Site VPN customer gateway

If you no longer need a customer gateway, you can delete it. You can't delete a customer gateway that's being used in a Site-to-Site VPN connection.

To delete a customer gateway using the console
  1. In the navigation pane, choose Customer gateways.

  2. Select the customer gateway and choose Actions, Delete customer gateway.

  3. When prompted for confirmation, enter delete and then choose Delete.

To delete a customer gateway using the command line or API