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)


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

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