class Aws::Batch::Types::EvaluateOnExit

Specifies a set of conditions to be met, and an action to take (`RETRY` or `EXIT`) if all conditions are met.

@note When making an API call, you may pass EvaluateOnExit

data as a hash:

    {
      on_status_reason: "String",
      on_reason: "String",
      on_exit_code: "String",
      action: "RETRY", # required, accepts RETRY, EXIT
    }

@!attribute [rw] on_status_reason

Contains a glob pattern to match against the `StatusReason` returned
for a job. The pattern can be up to 512 characters in length. It can
contain letters, numbers, periods (.), colons (:), and white space
(including spaces or tabs). It can optionally end with an asterisk
(*) so that only the start of the string needs to be an exact
match.
@return [String]

@!attribute [rw] on_reason

Contains a glob pattern to match against the `Reason` returned for a
job. The pattern can be up to 512 characters in length. It can
contain letters, numbers, periods (.), colons (:), and white space
(including spaces and tabs). It can optionally end with an asterisk
(*) so that only the start of the string needs to be an exact
match.
@return [String]

@!attribute [rw] on_exit_code

Contains a glob pattern to match against the decimal representation
of the `ExitCode` returned for a job. The pattern can be up to 512
characters in length. It can contain only numbers, and can
optionally end with an asterisk (*) so that only the start of the
string needs to be an exact match.
@return [String]

@!attribute [rw] action

Specifies the action to take if all of the specified conditions
(`onStatusReason`, `onReason`, and `onExitCode`) are met. The values
aren't case sensitive.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EvaluateOnExit AWS API Documentation

Constants

SENSITIVE