com.pulumi.aws.cfg.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-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.cfg.kotlin.inputs
import com.pulumi.aws.cfg.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 allRegions If true, aggregate existing AWS Config regions and future regions.
* @property regions List of source regions being aggregated.
* @property roleArn ARN of the IAM role used to retrieve AWS Organization details associated with the aggregator account.
* Either `regions` or `all_regions` (as true) must be specified.
*/
public data class ConfigurationAggregatorOrganizationAggregationSourceArgs(
public val allRegions: Output? = null,
public val regions: Output>? = null,
public val roleArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cfg.inputs.ConfigurationAggregatorOrganizationAggregationSourceArgs =
com.pulumi.aws.cfg.inputs.ConfigurationAggregatorOrganizationAggregationSourceArgs.builder()
.allRegions(allRegions?.applyValue({ args0 -> args0 }))
.regions(regions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConfigurationAggregatorOrganizationAggregationSourceArgs].
*/
@PulumiTagMarker
public class ConfigurationAggregatorOrganizationAggregationSourceArgsBuilder internal constructor() {
private var allRegions: Output? = null
private var regions: Output>? = null
private var roleArn: Output? = null
/**
* @param value If true, aggregate existing AWS Config regions and future regions.
*/
@JvmName("qrehhpibvvwrhptn")
public suspend fun allRegions(`value`: Output) {
this.allRegions = value
}
/**
* @param value List of source regions being aggregated.
*/
@JvmName("wgdjxsoihondpjvj")
public suspend fun regions(`value`: Output>) {
this.regions = value
}
@JvmName("qwrafnwbombelbcm")
public suspend fun regions(vararg values: Output) {
this.regions = Output.all(values.asList())
}
/**
* @param values List of source regions being aggregated.
*/
@JvmName("mcgmokugbsgpbybp")
public suspend fun regions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy