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

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

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


1633
1634
1635
1636
1637
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1633

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

#tasksArray<String>

A list of up to 100 task IDs or full Amazon Resource Name (ARN) entries.

Returns:

  • (Array<String>)


1633
1634
1635
1636
1637
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1633

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