Delete - AWS Proton


You can delete a service by using the console or the AWS CLI.

Delete a service using the console as described in the following steps.

In the service detail page.

  1. In the AWS Proton console, choose Services.

  2. In the list of services, choose the name of the service that you want to delete.

  3. Choose Actions and then Delete.

  4. A modal prompts you to confirm the delete action.

  5. Follow the instructions and choose Yes, delete.

You can also use the AWS CLI for AWS Proton to delete a service as shown in the following command and response.


aws proton delete-service --name "simple-svc"


{ "service": { "arn": "arn:aws:proton:region-id:123456789012:service/simple-svc", "branchName": "mainline", "createdAt": "2020-11-28T22:40:50.512000+00:00", "description": "Edit by updating description", "lastModifiedAt": "2020-11-29T00:30:39.248000+00:00", "name": "simple-svc", "repositoryConnectionArn": "arn:aws:codestar-connections:region-id:123456789012:connection/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "repositoryId": "myorg/myapp", "status": "DELETE_IN_PROGRESS", "templateName": "fargate-service" } }