com.pulumi.gcp.gkehub.kotlin.inputs.FleetDefaultClusterConfigBinaryAuthorizationConfigArgs.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.gkehub.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FleetDefaultClusterConfigBinaryAuthorizationConfigArgs.builder
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
/**
*
* @property evaluationMode Mode of operation for binauthz policy evaluation.
* Possible values are: `DISABLED`, `POLICY_BINDINGS`.
* @property policyBindings Binauthz policies that apply to this cluster.
* Structure is documented below.
*/
public data class FleetDefaultClusterConfigBinaryAuthorizationConfigArgs(
public val evaluationMode: Output? = null,
public val policyBindings: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkehub.inputs.FleetDefaultClusterConfigBinaryAuthorizationConfigArgs =
com.pulumi.gcp.gkehub.inputs.FleetDefaultClusterConfigBinaryAuthorizationConfigArgs.builder()
.evaluationMode(evaluationMode?.applyValue({ args0 -> args0 }))
.policyBindings(
policyBindings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [FleetDefaultClusterConfigBinaryAuthorizationConfigArgs].
*/
@PulumiTagMarker
public class FleetDefaultClusterConfigBinaryAuthorizationConfigArgsBuilder internal constructor() {
private var evaluationMode: Output? = null
private var policyBindings:
Output>? = null
/**
* @param value Mode of operation for binauthz policy evaluation.
* Possible values are: `DISABLED`, `POLICY_BINDINGS`.
*/
@JvmName("ngwoveiesaouexos")
public suspend fun evaluationMode(`value`: Output) {
this.evaluationMode = value
}
/**
* @param value Binauthz policies that apply to this cluster.
* Structure is documented below.
*/
@JvmName("urtexyijdnxcehnv")
public suspend fun policyBindings(`value`: Output>) {
this.policyBindings = value
}
@JvmName("idcbbejocseknstj")
public suspend fun policyBindings(vararg values: Output) {
this.policyBindings = Output.all(values.asList())
}
/**
* @param values Binauthz policies that apply to this cluster.
* Structure is documented below.
*/
@JvmName("wwlaihjtlvhjdvcl")
public suspend fun policyBindings(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy