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

com.pulumi.aws.verifiedpermissions.kotlin.inputs.IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.verifiedpermissions.kotlin.inputs

import com.pulumi.aws.verifiedpermissions.inputs.IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property clientIds The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider.
 * @property principalIdClaim The claim that determines the principal in OIDC access tokens.
 */
public data class
IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgs(
    public val clientIds: Output>? = null,
    public val principalIdClaim: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.verifiedpermissions.inputs.IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgs =
        com.pulumi.aws.verifiedpermissions.inputs.IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgs.builder()
            .clientIds(clientIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .principalIdClaim(principalIdClaim?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgs].
 */
@PulumiTagMarker
public class
IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgsBuilder
internal constructor() {
    private var clientIds: Output>? = null

    private var principalIdClaim: Output? = null

    /**
     * @param value The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider.
     */
    @JvmName("dxlipypemifymwty")
    public suspend fun clientIds(`value`: Output>) {
        this.clientIds = value
    }

    @JvmName("ushiiqxndixdpwgx")
    public suspend fun clientIds(vararg values: Output) {
        this.clientIds = Output.all(values.asList())
    }

    /**
     * @param values The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider.
     */
    @JvmName("frrrfjuavgrtgxuw")
    public suspend fun clientIds(values: List>) {
        this.clientIds = Output.all(values)
    }

    /**
     * @param value The claim that determines the principal in OIDC access tokens.
     */
    @JvmName("mbodoriusnycuypt")
    public suspend fun principalIdClaim(`value`: Output) {
        this.principalIdClaim = value
    }

    /**
     * @param value The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider.
     */
    @JvmName("ybmpvktqwiaorekn")
    public suspend fun clientIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientIds = mapped
    }

    /**
     * @param values The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider.
     */
    @JvmName("tlxfbuyfrrxlytne")
    public suspend fun clientIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clientIds = mapped
    }

    /**
     * @param value The claim that determines the principal in OIDC access tokens.
     */
    @JvmName("davtmciwdxrcnjjj")
    public suspend fun principalIdClaim(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.principalIdClaim = mapped
    }

    internal fun build(): IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgs =
        IdentitySourceConfigurationOpenIdConnectConfigurationTokenSelectionIdentityTokenOnlyArgs(
            clientIds = clientIds,
            principalIdClaim = principalIdClaim,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy