![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.grafana.kotlin.inputs.WorkspaceAssertionAttributesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.grafana.kotlin.inputs
import com.pulumi.awsnative.grafana.inputs.WorkspaceAssertionAttributesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Maps Grafana friendly names to the IdPs SAML attributes.
* @property email Name of the attribute within the SAML assert to use as the users email in Grafana.
* @property groups Name of the attribute within the SAML assert to use as the users groups in Grafana.
* @property login Name of the attribute within the SAML assert to use as the users login handle in Grafana.
* @property name Name of the attribute within the SAML assert to use as the users name in Grafana.
* @property org Name of the attribute within the SAML assert to use as the users organizations in Grafana.
* @property role Name of the attribute within the SAML assert to use as the users roles in Grafana.
*/
public data class WorkspaceAssertionAttributesArgs(
public val email: Output? = null,
public val groups: Output? = null,
public val login: Output? = null,
public val name: Output? = null,
public val org: Output? = null,
public val role: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.grafana.inputs.WorkspaceAssertionAttributesArgs =
com.pulumi.awsnative.grafana.inputs.WorkspaceAssertionAttributesArgs.builder()
.email(email?.applyValue({ args0 -> args0 }))
.groups(groups?.applyValue({ args0 -> args0 }))
.login(login?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.org(org?.applyValue({ args0 -> args0 }))
.role(role?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkspaceAssertionAttributesArgs].
*/
@PulumiTagMarker
public class WorkspaceAssertionAttributesArgsBuilder internal constructor() {
private var email: Output? = null
private var groups: Output? = null
private var login: Output? = null
private var name: Output? = null
private var org: Output? = null
private var role: Output? = null
/**
* @param value Name of the attribute within the SAML assert to use as the users email in Grafana.
*/
@JvmName("tfngqujcbwladcjw")
public suspend fun email(`value`: Output) {
this.email = value
}
/**
* @param value Name of the attribute within the SAML assert to use as the users groups in Grafana.
*/
@JvmName("wumxnemnhybtmogl")
public suspend fun groups(`value`: Output) {
this.groups = value
}
/**
* @param value Name of the attribute within the SAML assert to use as the users login handle in Grafana.
*/
@JvmName("omctiaojgdfuinua")
public suspend fun login(`value`: Output) {
this.login = value
}
/**
* @param value Name of the attribute within the SAML assert to use as the users name in Grafana.
*/
@JvmName("bmtrwlsyvktboern")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Name of the attribute within the SAML assert to use as the users organizations in Grafana.
*/
@JvmName("yuixmtcjxmsgelhc")
public suspend fun org(`value`: Output) {
this.org = value
}
/**
* @param value Name of the attribute within the SAML assert to use as the users roles in Grafana.
*/
@JvmName("ntsoxiohjdewacly")
public suspend fun role(`value`: Output) {
this.role = value
}
/**
* @param value Name of the attribute within the SAML assert to use as the users email in Grafana.
*/
@JvmName("aaepbngshvbeocqx")
public suspend fun email(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.email = mapped
}
/**
* @param value Name of the attribute within the SAML assert to use as the users groups in Grafana.
*/
@JvmName("rxjfirtosdplpmhe")
public suspend fun groups(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.groups = mapped
}
/**
* @param value Name of the attribute within the SAML assert to use as the users login handle in Grafana.
*/
@JvmName("odmmwhxjiqbwgwhw")
public suspend fun login(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.login = mapped
}
/**
* @param value Name of the attribute within the SAML assert to use as the users name in Grafana.
*/
@JvmName("yjfcirkuafeojfid")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Name of the attribute within the SAML assert to use as the users organizations in Grafana.
*/
@JvmName("uwrtphfrbtahvhkn")
public suspend fun org(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.org = mapped
}
/**
* @param value Name of the attribute within the SAML assert to use as the users roles in Grafana.
*/
@JvmName("voupcjswwpnndvbe")
public suspend fun role(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.role = mapped
}
internal fun build(): WorkspaceAssertionAttributesArgs = WorkspaceAssertionAttributesArgs(
email = email,
groups = groups,
login = login,
name = name,
org = org,
role = role,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy