com.pulumi.googlenative.container.v1beta1.kotlin.inputs.LegacyAbacArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.container.v1beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.container.v1beta1.inputs.LegacyAbacArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Configuration for the legacy Attribute Based Access Control authorization mode.
* @property enabled Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
*/
public data class LegacyAbacArgs(
public val enabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.container.v1beta1.inputs.LegacyAbacArgs =
com.pulumi.googlenative.container.v1beta1.inputs.LegacyAbacArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LegacyAbacArgs].
*/
@PulumiTagMarker
public class LegacyAbacArgsBuilder internal constructor() {
private var enabled: Output? = null
/**
* @param value Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
*/
@JvmName("vjpawldncgqgcpac")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
*/
@JvmName("tmcftjobqlxrlsgk")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
internal fun build(): LegacyAbacArgs = LegacyAbacArgs(
enabled = enabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy