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

Class: Aws::CloudWatchEvents::Types::EcsParameters

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing EcsParameters as input to an Aws::Client method, you can use a vanilla Hash:

{
  task_definition_arn: "Arn", # required
  task_count: 1,
}

The custom parameters to be used when the target is an Amazon ECS cluster.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#task_countInteger

The number of tasks to create based on the TaskDefinition. The default is one.

Returns:

  • (Integer)

    The number of tasks to create based on the TaskDefinition.

#task_definition_arnString

The ARN of the task definition to use if the event target is an Amazon ECS cluster.

Returns:

  • (String)

    The ARN of the task definition to use if the event target is an Amazon ECS cluster.