com.pulumi.awsnative.grafana.kotlin.outputs.WorkspaceRoleValues.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.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 }),
)
}
}