Skip to content

ECS  >  Errors  >  ClusterContainsCapacityProviderException

ClusterContainsCapacityProviderException

Error Class

ClusterContainsCapacityProviderException dataclass

Bases: ServiceError, _SerdeShape

The cluster contains one or more capacity providers that prevent the requested operation. This exception occurs when you try to delete a cluster that still has active capacity providers, including Amazon ECS Managed Instances capacity providers. You must first delete all capacity providers from the cluster before you can delete the cluster itself.

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.