Class: Aws::Batch::Types::EvaluateOnExit

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

Note:

When making an API call, you may pass EvaluateOnExit data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values are not case sensitive.

Returns:

  • (String)


2416
2417
2418
2419
2420
2421
2422
2423
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2416

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

#on_exit_codeString

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.

Returns:

  • (String)


2416
2417
2418
2419
2420
2421
2422
2423
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2416

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

#on_reasonString

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 white space (spaces, tabs), and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

Returns:

  • (String)


2416
2417
2418
2419
2420
2421
2422
2423
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2416

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

#on_status_reasonString

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 white space (spaces, tabs). and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

Returns:

  • (String)


2416
2417
2418
2419
2420
2421
2422
2423
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2416

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