Delete an endpoint service
When you are finished with an endpoint service, you can delete it. You can't delete
an endpoint service if there are any endpoints connected to the endpoint service that
are in the available
or pending-acceptance
state.
Deleting an endpoint service does not delete the associated load balancer and does not affect the application servers registered with the load balancer target groups.
To delete an endpoint service using the console
Open the Amazon VPC console at https://console.aws.amazon.com/vpc/
. -
In the navigation pane, choose Endpoint services.
-
Select the endpoint service.
-
Choose Actions, Delete endpoint services.
-
When prompted for confirmation, enter
delete
and then choose Delete.
To delete an endpoint service using the command line
-
Remove-EC2EndpointServiceConfiguration (Tools for Windows PowerShell)