![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.controltower.kotlin.EnabledControlArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.controltower.kotlin
import com.pulumi.awsnative.controltower.EnabledControlArgs.builder
import com.pulumi.awsnative.controltower.kotlin.inputs.EnabledControlParameterArgs
import com.pulumi.awsnative.controltower.kotlin.inputs.EnabledControlParameterArgsBuilder
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
/**
* Enables a control on a specified target.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property controlIdentifier Arn of the control.
* @property parameters Parameters to configure the enabled control behavior.
* @property tags A set of tags to assign to the enabled control.
* @property targetIdentifier Arn for Organizational unit to which the control needs to be applied
*/
public data class EnabledControlArgs(
public val controlIdentifier: 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.EnabledControlArgs =
com.pulumi.awsnative.controltower.EnabledControlArgs.builder()
.controlIdentifier(controlIdentifier?.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 [EnabledControlArgs].
*/
@PulumiTagMarker
public class EnabledControlArgsBuilder internal constructor() {
private var controlIdentifier: Output? = null
private var parameters: Output>? = null
private var tags: Output>? = null
private var targetIdentifier: Output? = null
/**
* @param value Arn of the control.
*/
@JvmName("nfuwfgmeghwyikyv")
public suspend fun controlIdentifier(`value`: Output) {
this.controlIdentifier = value
}
/**
* @param value Parameters to configure the enabled control behavior.
*/
@JvmName("yfkblbhwswwmpwgo")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("sbvvfdxkodrxqsui")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values Parameters to configure the enabled control behavior.
*/
@JvmName("vxksmstfieyxedeh")
public suspend fun parameters(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy