class Amazonite::EventBridge::BatchParameters

Overview

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

Included Modules

Defined in:

eventbridge/batch_parameters.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(job_definition : String, job_name : String, array_properties : BatchArrayProperties | Nil = nil, retry_strategy : BatchRetryStrategy | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def array_properties : BatchArrayProperties | Nil #

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.


[View source]
def array_properties=(array_properties : BatchArrayProperties | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def job_definition : String #

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


[View source]
def job_definition=(job_definition : String) #

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


[View source]
def job_name : String #

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


[View source]
def job_name=(job_name : String) #

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


[View source]
def retry_strategy : BatchRetryStrategy | Nil #

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.


[View source]
def retry_strategy=(retry_strategy : BatchRetryStrategy | Nil) #

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.


[View source]
def validate! : Nil #

[View source]