
com.pulumi.awsnative.cloudformation.kotlin.inputs.StackSetStackInstancesArgs.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.cloudformation.kotlin.inputs
import com.pulumi.awsnative.cloudformation.inputs.StackSetStackInstancesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
* Stack instances in some specific accounts and Regions.
* @property deploymentTargets The AWS `OrganizationalUnitIds` or `Accounts` for which to create stack instances in the specified Regions.
* @property parameterOverrides A list of stack set parameters whose values you want to override in the selected stack instances.
* @property regions The names of one or more Regions where you want to create stack instances using the specified AWS account(s).
*/
public data class StackSetStackInstancesArgs(
public val deploymentTargets: Output,
public val parameterOverrides: Output>? = null,
public val regions: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudformation.inputs.StackSetStackInstancesArgs =
com.pulumi.awsnative.cloudformation.inputs.StackSetStackInstancesArgs.builder()
.deploymentTargets(deploymentTargets.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.parameterOverrides(
parameterOverrides?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.regions(regions.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [StackSetStackInstancesArgs].
*/
@PulumiTagMarker
public class StackSetStackInstancesArgsBuilder internal constructor() {
private var deploymentTargets: Output? = null
private var parameterOverrides: Output>? = null
private var regions: Output>? = null
/**
* @param value The AWS `OrganizationalUnitIds` or `Accounts` for which to create stack instances in the specified Regions.
*/
@JvmName("qbrpeqsoyvttfyup")
public suspend fun deploymentTargets(`value`: Output) {
this.deploymentTargets = value
}
/**
* @param value A list of stack set parameters whose values you want to override in the selected stack instances.
*/
@JvmName("foharyxqwykckqgy")
public suspend fun parameterOverrides(`value`: Output>) {
this.parameterOverrides = value
}
@JvmName("ctasrntenmprqkmy")
public suspend fun parameterOverrides(vararg values: Output) {
this.parameterOverrides = Output.all(values.asList())
}
/**
* @param values A list of stack set parameters whose values you want to override in the selected stack instances.
*/
@JvmName("teuggikbiorlnwxa")
public suspend fun parameterOverrides(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy