com.pulumi.awsnative.ssm.kotlin.inputs.ResourceDataSyncSyncSourceArgs.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.ResourceDataSyncSyncSourceArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property awsOrganizationsSource Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .
* @property includeFutureRegions Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
* @property sourceRegions The `SyncSource` AWS Regions included in the resource data sync.
* @property sourceType The type of data source for the resource data sync. `SourceType` is either `AwsOrganizations` (if an organization is present in AWS Organizations ) or `SingleAccountMultiRegions` .
*/
public data class ResourceDataSyncSyncSourceArgs(
public val awsOrganizationsSource: Output? = null,
public val includeFutureRegions: Output? = null,
public val sourceRegions: Output>,
public val sourceType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssm.inputs.ResourceDataSyncSyncSourceArgs =
com.pulumi.awsnative.ssm.inputs.ResourceDataSyncSyncSourceArgs.builder()
.awsOrganizationsSource(
awsOrganizationsSource?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.includeFutureRegions(includeFutureRegions?.applyValue({ args0 -> args0 }))
.sourceRegions(sourceRegions.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sourceType(sourceType.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResourceDataSyncSyncSourceArgs].
*/
@PulumiTagMarker
public class ResourceDataSyncSyncSourceArgsBuilder internal constructor() {
private var awsOrganizationsSource: Output? = null
private var includeFutureRegions: Output? = null
private var sourceRegions: Output>? = null
private var sourceType: Output? = null
/**
* @param value Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations .
*/
@JvmName("scglphqhmgcywrjf")
public suspend fun awsOrganizationsSource(`value`: Output) {
this.awsOrganizationsSource = value
}
/**
* @param value Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
*/
@JvmName("enhwqifinhkvxavf")
public suspend fun includeFutureRegions(`value`: Output) {
this.includeFutureRegions = value
}
/**
* @param value The `SyncSource` AWS Regions included in the resource data sync.
*/
@JvmName("juojluwbooseldaf")
public suspend fun sourceRegions(`value`: Output>) {
this.sourceRegions = value
}
@JvmName("lbqoallewhaftmnw")
public suspend fun sourceRegions(vararg values: Output) {
this.sourceRegions = Output.all(values.asList())
}
/**
* @param values The `SyncSource` AWS Regions included in the resource data sync.
*/
@JvmName("ysicdihhbxydnxlo")
public suspend fun sourceRegions(values: List