Interface CfnJobDefinition.EvaluateOnExitProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.EvaluateOnExitProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
RETRY
or EXIT
) if all conditions are met.
If none of the EvaluateOnExit
conditions in a RetryStrategy
match, then the job is retried.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; EvaluateOnExitProperty evaluateOnExitProperty = EvaluateOnExitProperty.builder() .action("action") // the properties below are optional .onExitCode("onExitCode") .onReason("onReason") .onStatusReason("onStatusReason") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJobDefinition.EvaluateOnExitProperty
static final class
An implementation forCfnJobDefinition.EvaluateOnExitProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Specifies the action to take if all of the specified conditions (onStatusReason
,onReason
, andonExitCode
) are met.default String
Contains a glob pattern to match against the decimal representation of theExitCode
returned for a job.default String
Contains a glob pattern to match against theReason
returned for a job.default String
Contains a glob pattern to match against theStatusReason
returned for a job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
Specifies the action to take if all of the specified conditions (onStatusReason
,onReason
, andonExitCode
) are met.The values aren't case sensitive.
- See Also:
-
getOnExitCode
Contains a glob pattern to match against the decimal representation of theExitCode
returned for a job.The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can contain up to 512 characters.
- See Also:
-
getOnReason
Contains a glob pattern to match against theReason
returned for a job.The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
- See Also:
-
getOnStatusReason
Contains a glob pattern to match against theStatusReason
returned for a job.The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
- See Also:
-
builder
-