
com.pulumi.awsnative.events.kotlin.outputs.RuleRetryPolicy.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 maximumEventAgeInSeconds The maximum amount of time, in seconds, to continue to make retry attempts.
* @property maximumRetryAttempts The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the `MaximumEventAgeInSeconds` is met.
*/
public data class RuleRetryPolicy(
public val maximumEventAgeInSeconds: Int? = null,
public val maximumRetryAttempts: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.RuleRetryPolicy): RuleRetryPolicy = RuleRetryPolicy(
maximumEventAgeInSeconds = javaType.maximumEventAgeInSeconds().map({ args0 -> args0 }).orElse(null),
maximumRetryAttempts = javaType.maximumRetryAttempts().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy