@Stability(value=Stable)
public static interface CfnJobDefinition.EvaluateOnExitProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJobDefinition.EvaluateOnExitProperty.Builder
A builder for
CfnJobDefinition.EvaluateOnExitProperty |
static class |
CfnJobDefinition.EvaluateOnExitProperty.Jsii$Proxy
An implementation for
CfnJobDefinition.EvaluateOnExitProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnJobDefinition.EvaluateOnExitProperty.Builder |
builder() |
String |
getAction()
Specifies the action to take if all of the specified conditions ( `onStatusReason` , `onReason` , and `onExitCode` ) are met.
|
default String |
getOnExitCode()
Contains a glob pattern to match against the decimal representation of the `ExitCode` returned for a job.
|
default String |
getOnReason()
Contains a glob pattern to match against the `Reason` returned for a job.
|
default String |
getOnStatusReason()
Contains a glob pattern to match against the `StatusReason` returned for a job.
|
@Stability(value=Stable) @NotNull String getAction()
The values aren't case sensitive.
@Stability(value=Stable) @Nullable default String getOnExitCode()
The pattern can be up to 512 characters in length. It 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.
The string can be between 1 and 512 characters in length.
@Stability(value=Stable) @Nullable default String getOnReason()
The pattern can be up to 512 characters in length. 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.
The string can be between 1 and 512 characters in length.
@Stability(value=Stable) @Nullable default String getOnStatusReason()
The pattern can be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (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.
The string can be between 1 and 512 characters in length.
@Stability(value=Stable) static CfnJobDefinition.EvaluateOnExitProperty.Builder builder()
Copyright © 2022. All rights reserved.