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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Message that describes the cause of the exception.

Returns:

  • (String)


1044
1045
1046
1047
1048
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1044

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