JobQueueJobStateTimeLimitAction

Constructors

Link copied to clipboard
constructor(action: JobQueueJobStateTimeLimitActionAction, maxTimeSeconds: Int, reason: String, state: JobQueueJobStateTimeLimitActionState)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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. The only supported value is CANCEL , which will cancel the job.

Link copied to clipboard

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).

Link copied to clipboard

The reason to log for the action being taken.

Link copied to clipboard

The state of the job needed to trigger the action. The only supported value is RUNNABLE .