Class: Aws::Batch::Types::ServiceJobEvaluateOnExit
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::ServiceJobEvaluateOnExit
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-batch/types.rb
Overview
Specifies conditions for when to exit or retry a service job based on the exit status or status reason.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The action to take if the service job exits with the specified condition.
-
#on_status_reason ⇒ String
Contains a glob pattern to match against the StatusReason returned for a job.
Instance Attribute Details
#action ⇒ String
The action to take if the service job exits with the specified condition. Valid values are ‘RETRY` and `EXIT`.
8415 8416 8417 8418 8419 8420 |
# File 'lib/aws-sdk-batch/types.rb', line 8415 class ServiceJobEvaluateOnExit < Struct.new( :action, :on_status_reason) 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 and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
8415 8416 8417 8418 8419 8420 |
# File 'lib/aws-sdk-batch/types.rb', line 8415 class ServiceJobEvaluateOnExit < Struct.new( :action, :on_status_reason) SENSITIVE = [] include Aws::Structure end |