com.pulumi.awsnative.ssm.kotlin.inputs.ResourceDataSyncAwsOrganizationsSourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ssm.kotlin.inputs
import com.pulumi.awsnative.ssm.inputs.ResourceDataSyncAwsOrganizationsSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property organizationSourceType If an AWS organization is present, this is either `OrganizationalUnits` or `EntireOrganization` . For `OrganizationalUnits` , the data is aggregated from a set of organization units. For `EntireOrganization` , the data is aggregated from the entire AWS organization.
* @property organizationalUnits The AWS Organizations organization units included in the sync.
*/
public data class ResourceDataSyncAwsOrganizationsSourceArgs(
public val organizationSourceType: Output,
public val organizationalUnits: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssm.inputs.ResourceDataSyncAwsOrganizationsSourceArgs = com.pulumi.awsnative.ssm.inputs.ResourceDataSyncAwsOrganizationsSourceArgs.builder()
.organizationSourceType(organizationSourceType.applyValue({ args0 -> args0 }))
.organizationalUnits(
organizationalUnits?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [ResourceDataSyncAwsOrganizationsSourceArgs].
*/
@PulumiTagMarker
public class ResourceDataSyncAwsOrganizationsSourceArgsBuilder internal constructor() {
private var organizationSourceType: Output? = null
private var organizationalUnits: Output>? = null
/**
* @param value If an AWS organization is present, this is either `OrganizationalUnits` or `EntireOrganization` . For `OrganizationalUnits` , the data is aggregated from a set of organization units. For `EntireOrganization` , the data is aggregated from the entire AWS organization.
*/
@JvmName("acdmkvepurfmxwqr")
public suspend fun organizationSourceType(`value`: Output) {
this.organizationSourceType = value
}
/**
* @param value The AWS Organizations organization units included in the sync.
*/
@JvmName("srsldcsmnktihyeb")
public suspend fun organizationalUnits(`value`: Output>) {
this.organizationalUnits = value
}
@JvmName("isyvnyyotgpgjpfo")
public suspend fun organizationalUnits(vararg values: Output) {
this.organizationalUnits = Output.all(values.asList())
}
/**
* @param values The AWS Organizations organization units included in the sync.
*/
@JvmName("stoxhvsabydtgpbi")
public suspend fun organizationalUnits(values: List