com.pulumi.awsnative.iot.kotlin.outputs.JobExecutionsRolloutConfigProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* Allows you to create a staged rollout of a job.
* @property exponentialRolloutRate The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout.
* @property maximumPerMinute The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout.
*/
public data class JobExecutionsRolloutConfigProperties(
public val exponentialRolloutRate: JobTemplateExponentialRolloutRate? = null,
public val maximumPerMinute: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.JobExecutionsRolloutConfigProperties): JobExecutionsRolloutConfigProperties = JobExecutionsRolloutConfigProperties(
exponentialRolloutRate = javaType.exponentialRolloutRate().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iot.kotlin.outputs.JobTemplateExponentialRolloutRate.Companion.toKotlin(args0)
})
}).orElse(null),
maximumPerMinute = javaType.maximumPerMinute().map({ args0 -> args0 }).orElse(null),
)
}
}