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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/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)


8291
8292
8293
8294
8295
8296
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8291

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)


8291
8292
8293
8294
8295
8296
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8291

class ServiceJobEvaluateOnExit < Struct.new(
  :action,
  :on_status_reason)
  SENSITIVE = []
  include Aws::Structure
end