Class: Aws::ECS::Types::DescribeTasksRequest

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 DescribeTasksRequest data as a hash:

{
  cluster: "String",
  tasks: ["String"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (String)


2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2156

class DescribeTasksRequest < Struct.new(
  :cluster,
  :tasks)
  include Aws::Structure
end

#tasksArray<String>

A list of up to 100 task IDs or full ARN entries.

Returns:

  • (Array<String>)


2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2156

class DescribeTasksRequest < Struct.new(
  :cluster,
  :tasks)
  include Aws::Structure
end