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

com.pulumi.awsnative.greengrassv2.kotlin.outputs.DeploymentIoTJobConfiguration.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.greengrassv2.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property abortConfig The stop configuration for the job. This configuration defines when and how to stop a job rollout.
 * @property jobExecutionsRolloutConfig The rollout configuration for the job. This configuration defines the rate at which the job rolls out to the fleet of target devices.
 * @property timeoutConfig The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job.
 */
public data class DeploymentIoTJobConfiguration(
    public val abortConfig: DeploymentIoTJobAbortConfig? = null,
    public val jobExecutionsRolloutConfig: DeploymentIoTJobExecutionsRolloutConfig? = null,
    public val timeoutConfig: DeploymentIoTJobTimeoutConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.greengrassv2.outputs.DeploymentIoTJobConfiguration): DeploymentIoTJobConfiguration = DeploymentIoTJobConfiguration(
            abortConfig = javaType.abortConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.greengrassv2.kotlin.outputs.DeploymentIoTJobAbortConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            jobExecutionsRolloutConfig = javaType.jobExecutionsRolloutConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.greengrassv2.kotlin.outputs.DeploymentIoTJobExecutionsRolloutConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            timeoutConfig = javaType.timeoutConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.greengrassv2.kotlin.outputs.DeploymentIoTJobTimeoutConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy