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

com.pulumi.gcp.container.kotlin.inputs.ClusterAuthenticatorGroupsConfigArgs.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.12.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.ClusterAuthenticatorGroupsConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property securityGroup The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format `[email protected]`.
 */
public data class ClusterAuthenticatorGroupsConfigArgs(
    public val securityGroup: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.ClusterAuthenticatorGroupsConfigArgs =
        com.pulumi.gcp.container.inputs.ClusterAuthenticatorGroupsConfigArgs.builder()
            .securityGroup(securityGroup.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterAuthenticatorGroupsConfigArgs].
 */
@PulumiTagMarker
public class ClusterAuthenticatorGroupsConfigArgsBuilder internal constructor() {
    private var securityGroup: Output? = null

    /**
     * @param value The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format `[email protected]`.
     */
    @JvmName("wlhmajsvbdricnob")
    public suspend fun securityGroup(`value`: Output) {
        this.securityGroup = value
    }

    /**
     * @param value The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format `[email protected]`.
     */
    @JvmName("lvwglkbgrgryxthi")
    public suspend fun securityGroup(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroup = mapped
    }

    internal fun build(): ClusterAuthenticatorGroupsConfigArgs = ClusterAuthenticatorGroupsConfigArgs(
        securityGroup = securityGroup ?: throw PulumiNullFieldException("securityGroup"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy