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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb

Overview

Note:

When making an API call, you may pass EcsParameters data as a hash:

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

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

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)


165
166
167
168
169
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 165

class EcsParameters < Struct.new(
  :task_definition_arn,
  :task_count)
  include Aws::Structure
end

#task_definition_arnString

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

Returns:

  • (String)


165
166
167
168
169
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 165

class EcsParameters < Struct.new(
  :task_definition_arn,
  :task_count)
  include Aws::Structure
end