Class: Aws::Batch::Types::EvaluateOnExit
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::EvaluateOnExit
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
Specifies an array of up to 5 conditions to be met, and an action to
take (RETRY
or EXIT
) if all conditions are met. If none of the
EvaluateOnExit
conditions in a RetryStrategy
match, then the job
is retried.
Constant Summary collapse
- SENSITIVE =
[]
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. The values
aren't case sensitive.
4546 4547 4548 4549 4550 4551 4552 4553 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 4546 class EvaluateOnExit < Struct.new( :on_status_reason, :on_reason, :on_exit_code, :action) SENSITIVE = [] include Aws::Structure end |
#on_exit_code ⇒ String
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 long. It can contain only numbers, and can end with an
asterisk (*) so that only the start of the string needs to be an
exact match.
The string can contain up to 512 characters.
4546 4547 4548 4549 4550 4551 4552 4553 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 4546 class EvaluateOnExit < Struct.new( :on_status_reason, :on_reason, :on_exit_code, :action) SENSITIVE = [] include Aws::Structure end |
#on_reason ⇒ String
Contains a glob pattern to match against the Reason
returned for a
job. The pattern can contain up to 512 characters. 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.
4546 4547 4548 4549 4550 4551 4552 4553 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 4546 class EvaluateOnExit < Struct.new( :on_status_reason, :on_reason, :on_exit_code, :action) SENSITIVE = [] include Aws::Structure end |
#on_status_reason ⇒ String
Contains a glob pattern to match against the StatusReason
returned
for a job. The pattern can contain up to 512 characters. It can
contain letters, numbers, periods (.), colons (:), and white spaces
(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.
4546 4547 4548 4549 4550 4551 4552 4553 |
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 4546 class EvaluateOnExit < Struct.new( :on_status_reason, :on_reason, :on_exit_code, :action) SENSITIVE = [] include Aws::Structure end |