com.pulumi.awsnative.route53recoveryreadiness.kotlin.RecoveryGroupArgs.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.route53recoveryreadiness.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.route53recoveryreadiness.RecoveryGroupArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* AWS Route53 Recovery Readiness Recovery Group Schema and API specifications.
* @property cells A list of the cell Amazon Resource Names (ARNs) in the recovery group.
* @property recoveryGroupName The name of the recovery group to create.
* @property tags A collection of tags associated with a resource.
*/
public data class RecoveryGroupArgs(
public val cells: Output>? = null,
public val recoveryGroupName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.route53recoveryreadiness.RecoveryGroupArgs =
com.pulumi.awsnative.route53recoveryreadiness.RecoveryGroupArgs.builder()
.cells(cells?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.recoveryGroupName(recoveryGroupName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RecoveryGroupArgs].
*/
@PulumiTagMarker
public class RecoveryGroupArgsBuilder internal constructor() {
private var cells: Output>? = null
private var recoveryGroupName: Output? = null
private var tags: Output>? = null
/**
* @param value A list of the cell Amazon Resource Names (ARNs) in the recovery group.
*/
@JvmName("irstqilyxmjnshnt")
public suspend fun cells(`value`: Output>) {
this.cells = value
}
@JvmName("hdfxrbvipfkiskog")
public suspend fun cells(vararg values: Output) {
this.cells = Output.all(values.asList())
}
/**
* @param values A list of the cell Amazon Resource Names (ARNs) in the recovery group.
*/
@JvmName("ukppjbrpojiawnhu")
public suspend fun cells(values: List