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

com.pulumi.awsnative.cloudformation.kotlin.outputs.StackSetStackInstances.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cloudformation.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * 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 StackSetStackInstances(
    public val deploymentTargets: StackSetDeploymentTargets,
    public val parameterOverrides: List? = null,
    public val regions: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.outputs.StackSetStackInstances): StackSetStackInstances = StackSetStackInstances(
            deploymentTargets = javaType.deploymentTargets().let({ args0 ->
                com.pulumi.awsnative.cloudformation.kotlin.outputs.StackSetDeploymentTargets.Companion.toKotlin(args0)
            }),
            parameterOverrides = javaType.parameterOverrides().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudformation.kotlin.outputs.StackSetParameter.Companion.toKotlin(args0)
                })
            }),
            regions = javaType.regions().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy