Class: Aws::ECS::Types::DescribeClustersRequest

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

Overview

Note:

When making an API call, you may pass DescribeClustersRequest data as a hash:

{
  clusters: ["String"],
  include: ["STATISTICS"], # accepts STATISTICS
}

Instance Attribute Summary collapse

Instance Attribute Details

#clustersArray<String>

A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (Array<String>)


1996
1997
1998
1999
2000
# File 'lib/aws-sdk-ecs/types.rb', line 1996

class DescribeClustersRequest < Struct.new(
  :clusters,
  :include)
  include Aws::Structure
end

#includeArray<String>

Additional information about your clusters to be separated by launch type, including:

  • runningEC2TasksCount

  • runningFargateTasksCount

  • pendingEC2TasksCount

  • pendingFargateTasksCount

  • activeEC2ServiceCount

  • activeFargateServiceCount

  • drainingEC2ServiceCount

  • drainingFargateServiceCount

Returns:

  • (Array<String>)


1996
1997
1998
1999
2000
# File 'lib/aws-sdk-ecs/types.rb', line 1996

class DescribeClustersRequest < Struct.new(
  :clusters,
  :include)
  include Aws::Structure
end