You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Batch::Types::EvaluateOnExit
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::EvaluateOnExit
- Defined in:
- (unknown)
Overview
When passing EvaluateOnExit as input to an Aws::Client method, you can use a vanilla Hash:
{
on_status_reason: "String",
on_reason: "String",
on_exit_code: "String",
action: "RETRY", # required, accepts RETRY, EXIT
}
Specifies a set of conditions to be met, and an action to take (RETRY
or EXIT
) if all conditions are met.
Instance Attribute Summary collapse
-
#action ⇒ String
Specifies the action to take if all of the specified conditions (
onStatusReason
,onReason
, andonExitCode
) are met. -
#on_exit_code ⇒ String
Contains a glob pattern to match against the decimal representation of the
ExitCode
returned for a job. -
#on_reason ⇒ String
Contains a glob pattern to match against the
Reason
returned for a job. -
#on_status_reason ⇒ String
Contains a glob pattern to match against the
StatusReason
returned for a job.
Instance Attribute Details
#action ⇒ String
Specifies the action to take if all of the specified conditions
(onStatusReason
, onReason
, and onExitCode
) are met.
Possible values:
- RETRY
- EXIT
#on_exit_code ⇒ String
Contains a glob pattern to match against the decimal representation of
the ExitCode
returned for a job. The patten can be up to 512
characters long, 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.
#on_reason ⇒ String
Contains a glob pattern to match against the Reason
returned for a
job. The patten can be up to 512 characters long, can contain letters,
numbers, periods (.), colons (:), and whitespace (spaces, tabs), and can
optionally end with an asterisk (*) so that only the start of the
string needs to be an exact match.
#on_status_reason ⇒ String
Contains a glob pattern to match against the StatusReason
returned for
a job. The patten can be up to 512 characters long, can contain letters,
numbers, periods (.), colons (:), and whitespace (spaces, tabs). and can
optionally end with an asterisk (*) so that only the start of the
string needs to be an exact match.