You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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


1873
1874
1875
1876
1877
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1873

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>)


1873
1874
1875
1876
1877
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1873

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