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

#message ⇒ String

Message that describes the cause of the exception.

Returns:

  • (String)


1106
1107
1108
1109
1110
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1106

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