ecs_delete_service {paws.compute} | R Documentation |
Deletes a specified service within a cluster
Description
Deletes a specified service within a cluster. You can delete a service if you have no running tasks in it and the desired task count is zero. If the service is actively maintaining tasks, you can't delete it, and you must update the service to a desired task count of zero. For more information, see update_service
.
See https://www.paws-r-sdk.com/docs/ecs_delete_service/ for full documentation.
Usage
ecs_delete_service(cluster = NULL, service, force = NULL)
Arguments
cluster |
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed. |
service |
[required] The name of the service to delete. |
force |
If |