JobStateTimeLimitAction
Specifies an action that Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.
Types
Properties
The action to take when a job is at the head of the job queue in the specified state for the specified period of time. For job queues connected to a ECS, FARGATE or EKS compute environment, the only supported value is CANCEL, which will cancel the job. For job queues connected to a SAGEMAKER_TRAINING service environment, the only supported value is TERMINATE, which will terminate the job.
The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).
The state of the job needed to trigger the action. The only supported value is RUNNABLE.