
com.pulumi.awsnative.controltower.kotlin.EnabledBaselineArgs.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.controltower.kotlin
import com.pulumi.awsnative.controltower.EnabledBaselineArgs.builder
import com.pulumi.awsnative.controltower.kotlin.inputs.EnabledBaselineParameterArgs
import com.pulumi.awsnative.controltower.kotlin.inputs.EnabledBaselineParameterArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::ControlTower::EnabledBaseline Resource Type
* @property baselineIdentifier The specific `Baseline` enabled as part of the `EnabledBaseline` resource.
* @property baselineVersion The enabled version of the `Baseline` .
* @property parameters Parameters that are applied when enabling this `Baseline` . These parameters configure the behavior of the baseline.
* @property tags Tags associated with input to `EnableBaseline` .
* @property targetIdentifier The target on which to enable the `Baseline` .
*/
public data class EnabledBaselineArgs(
public val baselineIdentifier: Output? = null,
public val baselineVersion: Output? = null,
public val parameters: Output>? = null,
public val tags: Output>? = null,
public val targetIdentifier: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.controltower.EnabledBaselineArgs =
com.pulumi.awsnative.controltower.EnabledBaselineArgs.builder()
.baselineIdentifier(baselineIdentifier?.applyValue({ args0 -> args0 }))
.baselineVersion(baselineVersion?.applyValue({ args0 -> args0 }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.targetIdentifier(targetIdentifier?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnabledBaselineArgs].
*/
@PulumiTagMarker
public class EnabledBaselineArgsBuilder internal constructor() {
private var baselineIdentifier: Output? = null
private var baselineVersion: Output? = null
private var parameters: Output>? = null
private var tags: Output>? = null
private var targetIdentifier: Output? = null
/**
* @param value The specific `Baseline` enabled as part of the `EnabledBaseline` resource.
*/
@JvmName("jcwdanafaxngcqcw")
public suspend fun baselineIdentifier(`value`: Output) {
this.baselineIdentifier = value
}
/**
* @param value The enabled version of the `Baseline` .
*/
@JvmName("imfabshfwrcogrgi")
public suspend fun baselineVersion(`value`: Output) {
this.baselineVersion = value
}
/**
* @param value Parameters that are applied when enabling this `Baseline` . These parameters configure the behavior of the baseline.
*/
@JvmName("irbvjmrvtqkrreeo")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("vlqkudcyxyvfeovk")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values Parameters that are applied when enabling this `Baseline` . These parameters configure the behavior of the baseline.
*/
@JvmName("wnygcrwckqalcofs")
public suspend fun parameters(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy