com.pulumi.awsnative.events.kotlin.outputs.RuleBatchRetryStrategy.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.events.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property attempts The number of times to attempt to retry, if the job fails. Valid values are 1–10.
*/
public data class RuleBatchRetryStrategy(
public val attempts: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.RuleBatchRetryStrategy): RuleBatchRetryStrategy = RuleBatchRetryStrategy(
attempts = javaType.attempts().map({ args0 -> args0 }).orElse(null),
)
}
}