com.pulumi.awsnative.iot.kotlin.outputs.JobTemplateExponentialRolloutRate.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.Double
import kotlin.Int
import kotlin.Suppress
/**
* Allows you to create an exponential rate of rollout for a job.
* @property baseRatePerMinute The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout.
* @property incrementFactor The exponential factor to increase the rate of rollout for a job.
* @property rateIncreaseCriteria The criteria to initiate the increase in rate of rollout for a job.
*/
public data class JobTemplateExponentialRolloutRate(
public val baseRatePerMinute: Int,
public val incrementFactor: Double,
public val rateIncreaseCriteria: JobTemplateRateIncreaseCriteria,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.JobTemplateExponentialRolloutRate): JobTemplateExponentialRolloutRate = JobTemplateExponentialRolloutRate(
baseRatePerMinute = javaType.baseRatePerMinute(),
incrementFactor = javaType.incrementFactor(),
rateIncreaseCriteria = javaType.rateIncreaseCriteria().let({ args0 ->
com.pulumi.awsnative.iot.kotlin.outputs.JobTemplateRateIncreaseCriteria.Companion.toKotlin(args0)
}),
)
}
}