com.pulumi.aws.cloudformation.kotlin.inputs.StackInstancesDeploymentTargetsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.cloudformation.kotlin.inputs
import com.pulumi.aws.cloudformation.inputs.StackInstancesDeploymentTargetsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property accountFilterType Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
* @property accounts List of accounts to deploy stack set updates.
* @property accountsUrl S3 URL of the file containing the list of accounts.
* @property organizationalUnitIds Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
*/
public data class StackInstancesDeploymentTargetsArgs(
public val accountFilterType: Output? = null,
public val accounts: Output>? = null,
public val accountsUrl: Output? = null,
public val organizationalUnitIds: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cloudformation.inputs.StackInstancesDeploymentTargetsArgs =
com.pulumi.aws.cloudformation.inputs.StackInstancesDeploymentTargetsArgs.builder()
.accountFilterType(accountFilterType?.applyValue({ args0 -> args0 }))
.accounts(accounts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.accountsUrl(accountsUrl?.applyValue({ args0 -> args0 }))
.organizationalUnitIds(
organizationalUnitIds?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [StackInstancesDeploymentTargetsArgs].
*/
@PulumiTagMarker
public class StackInstancesDeploymentTargetsArgsBuilder internal constructor() {
private var accountFilterType: Output? = null
private var accounts: Output>? = null
private var accountsUrl: Output? = null
private var organizationalUnitIds: Output>? = null
/**
* @param value Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
*/
@JvmName("ydkrvassmsrovhcg")
public suspend fun accountFilterType(`value`: Output) {
this.accountFilterType = value
}
/**
* @param value List of accounts to deploy stack set updates.
*/
@JvmName("rvcbleakdcabiwqq")
public suspend fun accounts(`value`: Output>) {
this.accounts = value
}
@JvmName("hjattdfpsohdtquy")
public suspend fun accounts(vararg values: Output) {
this.accounts = Output.all(values.asList())
}
/**
* @param values List of accounts to deploy stack set updates.
*/
@JvmName("amnesjfvadyrlyoh")
public suspend fun accounts(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy