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

com.pulumi.awsnative.cloudformation.kotlin.outputs.StackSetDeploymentTargets.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.cloudformation.kotlin.enums.StackSetDeploymentTargetsAccountFilterType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *  The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
 * @property accountFilterType The filter type you want to apply on organizational units and accounts.
 * @property accounts AWS accounts that you want to create stack instances in the specified Region(s) for.
 * @property accountsUrl Returns the value of the AccountsUrl property.
 * @property organizationalUnitIds The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
 */
public data class StackSetDeploymentTargets(
    public val accountFilterType: StackSetDeploymentTargetsAccountFilterType? = null,
    public val accounts: List? = null,
    public val accountsUrl: String? = null,
    public val organizationalUnitIds: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.outputs.StackSetDeploymentTargets): StackSetDeploymentTargets = StackSetDeploymentTargets(
            accountFilterType = javaType.accountFilterType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudformation.kotlin.enums.StackSetDeploymentTargetsAccountFilterType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            accounts = javaType.accounts().map({ args0 -> args0 }),
            accountsUrl = javaType.accountsUrl().map({ args0 -> args0 }).orElse(null),
            organizationalUnitIds = javaType.organizationalUnitIds().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy