Class ClusterContainsServicesException

All Implemented Interfaces:
Serializable

public class ClusterContainsServicesException extends AmazonServiceException

You cannot delete a cluster that contains services. You must first update the service to reduce its desired task count to 0 and then delete the service. For more information, see UpdateService and DeleteService.

See Also:
  • Constructor Details

    • ClusterContainsServicesException

      public ClusterContainsServicesException(String message)
      Constructs a new ClusterContainsServicesException with the specified error message.
      Parameters:
      message - Describes the error encountered.