You can delete an AWS Proton service, with its instances and pipeline, by using the AWS Proton console or the AWS CLI.
You can't delete a service that has any service instance with an attached component. To delete such a service, you should first update all attached components to detach them from their service instances. For more information about components, see AWS Proton components.
Delete a service using the console as described in the following steps.
In the service detail page.
-
In the AWS Proton console
, choose Services. -
In the list of services, choose the name of the service that you want to delete.
-
On the service detail page, choose Actions and then Delete.
-
A modal prompts you to confirm the delete action.
-
Follow the instructions and choose Yes, delete.