JobQueueJobStateTimeLimitActionArgs

data class JobQueueJobStateTimeLimitActionArgs(val action: Output<JobQueueJobStateTimeLimitActionAction>, val maxTimeSeconds: Output<Int>, val reason: Output<String>, val state: Output<JobQueueJobStateTimeLimitActionState>) : ConvertibleToJava<JobQueueJobStateTimeLimitActionArgs>

Constructors

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

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
val maxTimeSeconds: Output<Int>

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
val reason: Output<String>

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 .

Functions

Link copied to clipboard
open override fun toJava(): JobQueueJobStateTimeLimitActionArgs