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

com.pulumi.aws.cloudformation.kotlin.inputs.StackInstancesDeploymentTargetsArgs.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.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>) {
        this.accounts = Output.all(values)
    }

    /**
     * @param value S3 URL of the file containing the list of accounts.
     */
    @JvmName("ffsloirnlboquhjs")
    public suspend fun accountsUrl(`value`: Output) {
        this.accountsUrl = value
    }

    /**
     * @param value Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
     */
    @JvmName("vbkfncdyphmaufsp")
    public suspend fun organizationalUnitIds(`value`: Output>) {
        this.organizationalUnitIds = value
    }

    @JvmName("drgqpbnrtqhydblv")
    public suspend fun organizationalUnitIds(vararg values: Output) {
        this.organizationalUnitIds = Output.all(values.asList())
    }

    /**
     * @param values Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
     */
    @JvmName("hutkbftijgrojcql")
    public suspend fun organizationalUnitIds(values: List>) {
        this.organizationalUnitIds = Output.all(values)
    }

    /**
     * @param value Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
     */
    @JvmName("hnpuncooeausrjrv")
    public suspend fun accountFilterType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountFilterType = mapped
    }

    /**
     * @param value List of accounts to deploy stack set updates.
     */
    @JvmName("ekwluxlcxmsaolcw")
    public suspend fun accounts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accounts = mapped
    }

    /**
     * @param values List of accounts to deploy stack set updates.
     */
    @JvmName("kekggcmxjpouxkbf")
    public suspend fun accounts(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accounts = mapped
    }

    /**
     * @param value S3 URL of the file containing the list of accounts.
     */
    @JvmName("hnbvgeqkcmcjpghq")
    public suspend fun accountsUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountsUrl = mapped
    }

    /**
     * @param value Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
     */
    @JvmName("eslehhataduogfjw")
    public suspend fun organizationalUnitIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.organizationalUnitIds = mapped
    }

    /**
     * @param values Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
     */
    @JvmName("ggsuwspsdganchar")
    public suspend fun organizationalUnitIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.organizationalUnitIds = mapped
    }

    internal fun build(): StackInstancesDeploymentTargetsArgs = StackInstancesDeploymentTargetsArgs(
        accountFilterType = accountFilterType,
        accounts = accounts,
        accountsUrl = accountsUrl,
        organizationalUnitIds = organizationalUnitIds,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy