enum JobStateTimeLimitActionsState
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Batch.JobStateTimeLimitActionsState |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#JobStateTimeLimitActionsState |
![]() | software.amazon.awscdk.services.batch.JobStateTimeLimitActionsState |
![]() | aws_cdk.aws_batch.JobStateTimeLimitActionsState |
![]() | aws-cdk-lib » aws_batch » JobStateTimeLimitActionsState |
The state of the job needed to trigger the action.
Example
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
Name | Description |
---|---|
RUNNABLE | RUNNABLE state triggers the action. |
RUNNABLE
RUNNABLE state triggers the action.