com.pulumi.awsnative.configuration.kotlin.inputs.ConfigurationAggregatorOrganizationAggregationSourceArgs.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.configuration.kotlin.inputs
import com.pulumi.awsnative.configuration.inputs.ConfigurationAggregatorOrganizationAggregationSourceArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allAwsRegions If true, aggregate existing AWS Config regions and future regions.
* @property awsRegions The source regions being aggregated.
* @property roleArn ARN of the IAM role used to retrieve AWS Organizations details associated with the aggregator account.
*/
public data class ConfigurationAggregatorOrganizationAggregationSourceArgs(
public val allAwsRegions: Output? = null,
public val awsRegions: Output>? = null,
public val roleArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.configuration.inputs.ConfigurationAggregatorOrganizationAggregationSourceArgs =
com.pulumi.awsnative.configuration.inputs.ConfigurationAggregatorOrganizationAggregationSourceArgs.builder()
.allAwsRegions(allAwsRegions?.applyValue({ args0 -> args0 }))
.awsRegions(awsRegions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConfigurationAggregatorOrganizationAggregationSourceArgs].
*/
@PulumiTagMarker
public class ConfigurationAggregatorOrganizationAggregationSourceArgsBuilder internal constructor() {
private var allAwsRegions: Output? = null
private var awsRegions: Output>? = null
private var roleArn: Output? = null
/**
* @param value If true, aggregate existing AWS Config regions and future regions.
*/
@JvmName("kydbaxmmcfdnedsc")
public suspend fun allAwsRegions(`value`: Output) {
this.allAwsRegions = value
}
/**
* @param value The source regions being aggregated.
*/
@JvmName("wvlfhotceiphdbmh")
public suspend fun awsRegions(`value`: Output>) {
this.awsRegions = value
}
@JvmName("woamrrmvccahhjwi")
public suspend fun awsRegions(vararg values: Output) {
this.awsRegions = Output.all(values.asList())
}
/**
* @param values The source regions being aggregated.
*/
@JvmName("pdpxkcffhxqworml")
public suspend fun awsRegions(values: List