com.pulumi.awsnative.ssm.kotlin.outputs.ResourceDataSyncAwsOrganizationsSource.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 ResourceDataSyncAwsOrganizationsSource(
public val organizationSourceType: String,
public val organizationalUnits: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssm.outputs.ResourceDataSyncAwsOrganizationsSource): ResourceDataSyncAwsOrganizationsSource = ResourceDataSyncAwsOrganizationsSource(
organizationSourceType = javaType.organizationSourceType(),
organizationalUnits = javaType.organizationalUnits().map({ args0 -> args0 }),
)
}
}