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

com.pulumi.awsnative.greengrassv2.kotlin.inputs.DeploymentIoTJobTimeoutConfigArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.greengrassv2.kotlin.inputs

import com.pulumi.awsnative.greengrassv2.inputs.DeploymentIoTJobTimeoutConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property inProgressTimeoutInMinutes The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to `IN_PROGRESS` . If the job status doesn't change to a terminal state before the time expires, then the job status is set to `TIMED_OUT` .
 * The timeout interval must be between 1 minute and 7 days (10080 minutes).
 */
public data class DeploymentIoTJobTimeoutConfigArgs(
    public val inProgressTimeoutInMinutes: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.greengrassv2.inputs.DeploymentIoTJobTimeoutConfigArgs = com.pulumi.awsnative.greengrassv2.inputs.DeploymentIoTJobTimeoutConfigArgs.builder()
        .inProgressTimeoutInMinutes(inProgressTimeoutInMinutes?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DeploymentIoTJobTimeoutConfigArgs].
 */
@PulumiTagMarker
public class DeploymentIoTJobTimeoutConfigArgsBuilder internal constructor() {
    private var inProgressTimeoutInMinutes: Output? = null

    /**
     * @param value The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to `IN_PROGRESS` . If the job status doesn't change to a terminal state before the time expires, then the job status is set to `TIMED_OUT` .
     * The timeout interval must be between 1 minute and 7 days (10080 minutes).
     */
    @JvmName("tsgubayhsnvweqhm")
    public suspend fun inProgressTimeoutInMinutes(`value`: Output) {
        this.inProgressTimeoutInMinutes = value
    }

    /**
     * @param value The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to `IN_PROGRESS` . If the job status doesn't change to a terminal state before the time expires, then the job status is set to `TIMED_OUT` .
     * The timeout interval must be between 1 minute and 7 days (10080 minutes).
     */
    @JvmName("jugtpscwljcdjfne")
    public suspend fun inProgressTimeoutInMinutes(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.inProgressTimeoutInMinutes = mapped
    }

    internal fun build(): DeploymentIoTJobTimeoutConfigArgs = DeploymentIoTJobTimeoutConfigArgs(
        inProgressTimeoutInMinutes = inProgressTimeoutInMinutes,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy