Class: Aws::ECS::Types::ClusterContainsServicesException

Inherits:
Aws::EmptyStructure
  • Object
show all
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

You can’t delete a cluster that contains services. First, update the service to reduce its desired task count to 0, and then delete the service. For more information, see [UpdateService] and [DeleteService].

[1]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html [2]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteService.html