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

com.pulumi.gcp.container.kotlin.outputs.AwsClusterAuthorization.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.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property adminGroups Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole to the groups. Up to ten admin groups can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
 * @property adminUsers Users to perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole to the users. Up to ten admin users can be provided. For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
 */
public data class AwsClusterAuthorization(
    public val adminGroups: List? = null,
    public val adminUsers: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.AwsClusterAuthorization): AwsClusterAuthorization = AwsClusterAuthorization(
            adminGroups = javaType.adminGroups().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.container.kotlin.outputs.AwsClusterAuthorizationAdminGroup.Companion.toKotlin(args0)
                })
            }),
            adminUsers = javaType.adminUsers().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.container.kotlin.outputs.AwsClusterAuthorizationAdminUser.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy