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

com.pulumi.aws.resiliencehub.kotlin.outputs.ResiliencyPolicyPolicy.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.resiliencehub.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property az Specifies Availability Zone failure policy. See `policy.az`
 * @property hardware Specifies Infrastructure failure policy. See `policy.hardware`
 * @property region Specifies Region failure policy. `policy.region`
 * @property software Specifies Application failure policy. See `policy.software`
 * The following arguments are optional:
 */
public data class ResiliencyPolicyPolicy(
    public val az: ResiliencyPolicyPolicyAz? = null,
    public val hardware: ResiliencyPolicyPolicyHardware? = null,
    public val region: ResiliencyPolicyPolicyRegion? = null,
    public val software: ResiliencyPolicyPolicySoftware? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.resiliencehub.outputs.ResiliencyPolicyPolicy): ResiliencyPolicyPolicy = ResiliencyPolicyPolicy(
            az = javaType.az().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.resiliencehub.kotlin.outputs.ResiliencyPolicyPolicyAz.Companion.toKotlin(args0)
                })
            }).orElse(null),
            hardware = javaType.hardware().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.resiliencehub.kotlin.outputs.ResiliencyPolicyPolicyHardware.Companion.toKotlin(args0)
                })
            }).orElse(null),
            region = javaType.region().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.resiliencehub.kotlin.outputs.ResiliencyPolicyPolicyRegion.Companion.toKotlin(args0)
                })
            }).orElse(null),
            software = javaType.software().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.resiliencehub.kotlin.outputs.ResiliencyPolicyPolicySoftware.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy