All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.resiliencehub.kotlin.outputs.ResiliencyPolicyFailurePolicy.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy