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

Class: Aws::CloudWatchEvents::Types::BatchRetryStrategy

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 BatchRetryStrategy data as a hash:

{
  attempts: 1,
}

The retry strategy to use for failed jobs, if the target is an AWS Batch job. If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.

Instance Attribute Summary collapse

Instance Attribute Details

#attemptsInteger

The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.

Returns:

  • (Integer)


104
105
106
107
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 104

class BatchRetryStrategy < Struct.new(
  :attempts)
  include Aws::Structure
end