com.pulumi.awsnative.resiliencehub.kotlin.outputs.ResiliencyPolicyFailurePolicy.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.resiliencehub.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* Failure Policy.
* @property rpoInSecs RPO in seconds.
* @property rtoInSecs RTO in seconds.
*/
public data class ResiliencyPolicyFailurePolicy(
public val rpoInSecs: Int,
public val rtoInSecs: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.resiliencehub.outputs.ResiliencyPolicyFailurePolicy): ResiliencyPolicyFailurePolicy = ResiliencyPolicyFailurePolicy(
rpoInSecs = javaType.rpoInSecs(),
rtoInSecs = javaType.rtoInSecs(),
)
}
}