Remove an endpoint service private DNS name - Amazon Virtual Private Cloud

Remove an endpoint service private DNS name

You can remove the endpoint service private DNS name only after there are no connections to the service.

Console

To remove an endpoint service private DNS name using the console

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. In the navigation pane, choose Endpoint Services.

  3. Select the endpoint service, and then choose Actions, Modify private DNS name.

  4. Clear Enable private DNS name, and then clear the Private DNS name.

  5. Choose Modify.

AWS CLI

Use modify-vpc-endpoint-service-configuration.

API

Use ModifyVpcEndpointServiceConfiguration.