All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.container.kotlin.inputs.AwsClusterBinaryAuthorizationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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.AwsClusterBinaryAuthorizationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property evaluationMode Mode of operation for Binary Authorization policy evaluation. Possible values: DISABLED, PROJECT_SINGLETON_POLICY_ENFORCE
 */
public data class AwsClusterBinaryAuthorizationArgs(
    public val evaluationMode: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.AwsClusterBinaryAuthorizationArgs =
        com.pulumi.gcp.container.inputs.AwsClusterBinaryAuthorizationArgs.builder()
            .evaluationMode(evaluationMode?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AwsClusterBinaryAuthorizationArgs].
 */
@PulumiTagMarker
public class AwsClusterBinaryAuthorizationArgsBuilder internal constructor() {
    private var evaluationMode: Output? = null

    /**
     * @param value Mode of operation for Binary Authorization policy evaluation. Possible values: DISABLED, PROJECT_SINGLETON_POLICY_ENFORCE
     */
    @JvmName("cpekkasmfsddngda")
    public suspend fun evaluationMode(`value`: Output) {
        this.evaluationMode = value
    }

    /**
     * @param value Mode of operation for Binary Authorization policy evaluation. Possible values: DISABLED, PROJECT_SINGLETON_POLICY_ENFORCE
     */
    @JvmName("jysaafjrmwiybgvd")
    public suspend fun evaluationMode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.evaluationMode = mapped
    }

    internal fun build(): AwsClusterBinaryAuthorizationArgs = AwsClusterBinaryAuthorizationArgs(
        evaluationMode = evaluationMode,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy