Class: Aws::Batch::Types::ServiceJobEvaluateOnExit

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#actionString

The action to take if the service job exits with the specified condition. Valid values are ‘RETRY` and `EXIT`.

Returns:

  • (String)


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_reasonString

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.

Returns:

  • (String)


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