Class: Aws::CloudWatchEvents::Types::BatchParameters

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

Overview

The custom parameters to be used when the target is an Batch job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#array_propertiesTypes::BatchArrayProperties

The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an Batch job.



212
213
214
215
216
217
218
219
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 212

class BatchParameters < Struct.new(
  :job_definition,
  :job_name,
  :array_properties,
  :retry_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#job_definitionString

The ARN or name of the job definition to use if the event target is an Batch job. This job definition must already exist.

Returns:

  • (String)


212
213
214
215
216
217
218
219
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 212

class BatchParameters < Struct.new(
  :job_definition,
  :job_name,
  :array_properties,
  :retry_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#job_nameString

The name to use for this execution of the job, if the target is an Batch job.

Returns:

  • (String)


212
213
214
215
216
217
218
219
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 212

class BatchParameters < Struct.new(
  :job_definition,
  :job_name,
  :array_properties,
  :retry_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#retry_strategyTypes::BatchRetryStrategy

The retry strategy to use for failed jobs, if the target is an Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.



212
213
214
215
216
217
218
219
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 212

class BatchParameters < Struct.new(
  :job_definition,
  :job_name,
  :array_properties,
  :retry_strategy)
  SENSITIVE = []
  include Aws::Structure
end