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
  include: ["TAGS"], # accepts TAGS
}

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)


2613
2614
2615
2616
2617
2618
# File 'lib/aws-sdk-ecs/types.rb', line 2613

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

#includeArray<String>

Specifies whether you want to see the resource tags for the task. If ‘TAGS` is specified, the tags are included in the response. If this field is omitted, tags are not included in the response.

Returns:

  • (Array<String>)


2613
2614
2615
2616
2617
2618
# File 'lib/aws-sdk-ecs/types.rb', line 2613

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

#tasksArray<String>

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

Returns:

  • (Array<String>)


2613
2614
2615
2616
2617
2618
# File 'lib/aws-sdk-ecs/types.rb', line 2613

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