All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.batch.kotlin.outputs.JobQueueJobStateTimeLimitAction.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.batch.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property action 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. Valid values include `"CANCEL"`
 * * `job_state_time_limit_action.#.max_time_seconds` - The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. Valid values include integers between `600` & `86400`
 * @property maxTimeSeconds
 * @property reason The reason to log for the action being taken.
 * @property state The state of the job needed to trigger the action. Valid values include `"RUNNABLE"`.
 */
public data class JobQueueJobStateTimeLimitAction(
    public val action: String,
    public val maxTimeSeconds: Int,
    public val reason: String,
    public val state: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.batch.outputs.JobQueueJobStateTimeLimitAction): JobQueueJobStateTimeLimitAction = JobQueueJobStateTimeLimitAction(
            action = javaType.action(),
            maxTimeSeconds = javaType.maxTimeSeconds(),
            reason = javaType.reason(),
            state = javaType.state(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy