com.pulumi.gcp.container.kotlin.inputs.AttachedClusterBinaryAuthorizationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AttachedClusterBinaryAuthorizationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property evaluationMode Configure Binary Authorization evaluation mode.
* Possible values are: `DISABLED`, `PROJECT_SINGLETON_POLICY_ENFORCE`.
*/
public data class AttachedClusterBinaryAuthorizationArgs(
public val evaluationMode: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AttachedClusterBinaryAuthorizationArgs =
com.pulumi.gcp.container.inputs.AttachedClusterBinaryAuthorizationArgs.builder()
.evaluationMode(evaluationMode?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AttachedClusterBinaryAuthorizationArgs].
*/
@PulumiTagMarker
public class AttachedClusterBinaryAuthorizationArgsBuilder internal constructor() {
private var evaluationMode: Output? = null
/**
* @param value Configure Binary Authorization evaluation mode.
* Possible values are: `DISABLED`, `PROJECT_SINGLETON_POLICY_ENFORCE`.
*/
@JvmName("nlttsfeskypdhcad")
public suspend fun evaluationMode(`value`: Output) {
this.evaluationMode = value
}
/**
* @param value Configure Binary Authorization evaluation mode.
* Possible values are: `DISABLED`, `PROJECT_SINGLETON_POLICY_ENFORCE`.
*/
@JvmName("iqolvpqctgbueknx")
public suspend fun evaluationMode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.evaluationMode = mapped
}
internal fun build(): AttachedClusterBinaryAuthorizationArgs =
AttachedClusterBinaryAuthorizationArgs(
evaluationMode = evaluationMode,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy