JobStateTimeLimitActionsState Enum
The state of the job needed to trigger the action.
Example
ts
new batch.JobQueue(this, 'JobQueue', {
jobStateTimeLimitActions: [
{
action: batch.JobStateTimeLimitActionsAction.CANCEL,
maxTime: cdk.Duration.minutes(10),
reason: batch.JobStateTimeLimitActionsReason.INSUFFICIENT_INSTANCE_CAPACITY,
state: batch.JobStateTimeLimitActionsState.RUNNABLE,
},
]
});
Members
| Member | Description |
|---|---|
RUNNABLE | RUNNABLE state triggers the action. |
Referenced by
JobStateTimeLimitAction.statestatestateStateState