Delete an interface endpoint
When you are finished with a VPC endpoint, you can delete it. Deleting an interface endpoint also deletes its endpoint network interfaces.
To delete an interface endpoint using the console
Open the Amazon VPC console at https://console.amazonaws.cn/vpc/
. -
In the navigation pane, choose Endpoints.
-
Select the interface endpoint.
-
Choose Actions, Delete VPC endpoints.
-
When prompted for confirmation, enter
delete
. -
Choose Delete.
To delete an interface endpoint using the command line
-
delete-vpc-endpoints (Amazon CLI)
-
Remove-EC2VpcEndpoint (Tools for Windows PowerShell)