ServiceJobEvaluateOnExit - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ServiceJobEvaluateOnExit

Specifies conditions for when to exit or retry a service job based on the exit status or status reason.

Contents

action

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

Type: String

Valid Values: RETRY | EXIT

Required: No

onStatusReason

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.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: