Class ClusterContainsCapacityProviderException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ClusterContainsCapacityProviderException.Builder,ClusterContainsCapacityProviderException>

@Generated("software.amazon.awssdk:codegen") public final class ClusterContainsCapacityProviderException extends EcsException implements ToCopyableBuilder<ClusterContainsCapacityProviderException.Builder,ClusterContainsCapacityProviderException>

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.

See Also: