Class: Aws::ECS::Types::ClusterContainsServicesException

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

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].

[1]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html [2]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteService.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Message that describes the cause of the exception.

Returns:

  • (String)


1066
1067
1068
1069
1070
# File 'lib/aws-sdk-ecs/types.rb', line 1066

class ClusterContainsServicesException < Struct.new(
  :message)
  SENSITIVE = []
  include Aws::Structure
end