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

com.pulumi.aws.cloudformation.kotlin.outputs.StackInstancesDeploymentTargets.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.outputs

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

/**
 *
 * @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 StackInstancesDeploymentTargets(
    public val accountFilterType: String? = 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.aws.cloudformation.outputs.StackInstancesDeploymentTargets): StackInstancesDeploymentTargets = StackInstancesDeploymentTargets(
            accountFilterType = javaType.accountFilterType().map({ args0 -> args0 }).orElse(null),
            accounts = javaType.accounts().map({ args0 -> args0 }),
            accountsUrl = javaType.accountsUrl().map({ args0 -> args0 }).orElse(null),
            organizationalUnitIds = javaType.organizationalUnitIds().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy