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)


2013
2014
2015
2016
2017
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2013

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


2013
2014
2015
2016
2017
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2013

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