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

com.pulumi.awsnative.grafana.kotlin.outputs.WorkspaceRoleValues.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.grafana.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Maps SAML roles to the Grafana Editor and Admin roles.
 * @property admin List of SAML roles which will be mapped into the Grafana Admin role.
 * @property editor List of SAML roles which will be mapped into the Grafana Editor role.
 */
public data class WorkspaceRoleValues(
    public val admin: List? = null,
    public val editor: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.grafana.outputs.WorkspaceRoleValues): WorkspaceRoleValues = WorkspaceRoleValues(
            admin = javaType.admin().map({ args0 -> args0 }),
            editor = javaType.editor().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy