com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessPolicyRequireSamlArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyRequireSamlArgs.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
/**
*
* @property attributeName The name of the SAML attribute.
* @property attributeValue The SAML attribute value to look for.
* @property identityProviderId The ID of your SAML identity provider.
*/
public data class ZeroTrustAccessPolicyRequireSamlArgs(
public val attributeName: Output? = null,
public val attributeValue: Output? = null,
public val identityProviderId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyRequireSamlArgs =
com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyRequireSamlArgs.builder()
.attributeName(attributeName?.applyValue({ args0 -> args0 }))
.attributeValue(attributeValue?.applyValue({ args0 -> args0 }))
.identityProviderId(identityProviderId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustAccessPolicyRequireSamlArgs].
*/
@PulumiTagMarker
public class ZeroTrustAccessPolicyRequireSamlArgsBuilder internal constructor() {
private var attributeName: Output? = null
private var attributeValue: Output? = null
private var identityProviderId: Output? = null
/**
* @param value The name of the SAML attribute.
*/
@JvmName("obgolhwhhltogxup")
public suspend fun attributeName(`value`: Output) {
this.attributeName = value
}
/**
* @param value The SAML attribute value to look for.
*/
@JvmName("kupdjqjkriuofdaj")
public suspend fun attributeValue(`value`: Output) {
this.attributeValue = value
}
/**
* @param value The ID of your SAML identity provider.
*/
@JvmName("blvdhaumnghpgfrc")
public suspend fun identityProviderId(`value`: Output) {
this.identityProviderId = value
}
/**
* @param value The name of the SAML attribute.
*/
@JvmName("pxmtxnmgygxctbnm")
public suspend fun attributeName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.attributeName = mapped
}
/**
* @param value The SAML attribute value to look for.
*/
@JvmName("ooymvfdmkgpvtlyj")
public suspend fun attributeValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.attributeValue = mapped
}
/**
* @param value The ID of your SAML identity provider.
*/
@JvmName("rycwdqivgdrlwtik")
public suspend fun identityProviderId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identityProviderId = mapped
}
internal fun build(): ZeroTrustAccessPolicyRequireSamlArgs = ZeroTrustAccessPolicyRequireSamlArgs(
attributeName = attributeName,
attributeValue = attributeValue,
identityProviderId = identityProviderId,
)
}