Class: Aws::ECS::Types::ClusterContainsCapacityProviderException
- Inherits:
-
Aws::EmptyStructure
- Object
- Struct::AwsEmptyStructure
- Aws::EmptyStructure
- Aws::ECS::Types::ClusterContainsCapacityProviderException
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
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.