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: ["ATTACHMENTS"], # accepts ATTACHMENTS, CONFIGURATIONS, SETTINGS, STATISTICS, TAGS
}

Constant Summary collapse

SENSITIVE =
[]

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

4208
4209
4210
4211
4212
4213
# File 'lib/aws-sdk-ecs/types.rb', line 4208

class DescribeClustersRequest < Struct.new(
  :clusters,
  :include)
  SENSITIVE = []
  include Aws::Structure
end

#includeArray<String>

Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.

If `ATTACHMENTS` is specified, the attachments for the container instances or tasks within the cluster are included.

If `SETTINGS` is specified, the settings for the cluster are included.

If `CONFIGURATIONS` is specified, the configuration for the cluster is included.

If `STATISTICS` is specified, the task and service count is included, separated by launch type.

If `TAGS` is specified, the metadata tags associated with the cluster are included.

Returns:

  • (Array<String>)

4208
4209
4210
4211
4212
4213
# File 'lib/aws-sdk-ecs/types.rb', line 4208

class DescribeClustersRequest < Struct.new(
  :clusters,
  :include)
  SENSITIVE = []
  include Aws::Structure
end