com.pulumi.awsnative.route53recoveryreadiness.kotlin.CellArgs.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.CellArgs.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
/**
* The API Schema for AWS Route53 Recovery Readiness Cells.
* @property cellName The name of the cell to create.
* @property cells A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Regions.
* @property tags A collection of tags associated with a resource
*/
public data class CellArgs(
public val cellName: Output? = null,
public val cells: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.route53recoveryreadiness.CellArgs =
com.pulumi.awsnative.route53recoveryreadiness.CellArgs.builder()
.cellName(cellName?.applyValue({ args0 -> args0 }))
.cells(cells?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CellArgs].
*/
@PulumiTagMarker
public class CellArgsBuilder internal constructor() {
private var cellName: Output? = null
private var cells: Output>? = null
private var tags: Output>? = null
/**
* @param value The name of the cell to create.
*/
@JvmName("cqfhhwuglmpwgvvd")
public suspend fun cellName(`value`: Output) {
this.cellName = value
}
/**
* @param value A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Regions.
*/
@JvmName("arrmbmppktehlgyk")
public suspend fun cells(`value`: Output>) {
this.cells = value
}
@JvmName("huofwheqhbqifcnk")
public suspend fun cells(vararg values: Output) {
this.cells = Output.all(values.asList())
}
/**
* @param values A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Regions.
*/
@JvmName("rfniofqujsxsyjfw")
public suspend fun cells(values: List