Class: Aws::ECS::Types::ClusterContainsCapacityProviderException

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

Overview

The cluster contains one or more capacity providers that prevent the requested operation. This exception occurs when you try to delete a cluster that still has active capacity providers, including Amazon ECS Managed Instances capacity providers. You must first delete all capacity providers from the cluster before you can delete the cluster itself.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Message that describes the cause of the exception.

Returns:

  • (String)


1002
1003
1004
1005
1006
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1002

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