Skip to content

ECS  >  Errors  >  ClusterContainsServicesException

ClusterContainsServicesException

Error Class

ClusterContainsServicesException dataclass

Bases: ServiceError, _SerdeShape

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.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.