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

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

package com.pulumi.awsnative.ec2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The OpenID Connect details for an oidc -type, user-identity based trust provider.
 * @property authorizationEndpoint The OIDC authorization endpoint.
 * @property clientId The client identifier.
 * @property clientSecret The client secret.
 * @property issuer The OIDC issuer.
 * @property scope OpenID Connect (OIDC) scopes are used by an application during authentication to authorize access to details of a user. Each scope returns a specific set of user attributes.
 * @property tokenEndpoint The OIDC token endpoint.
 * @property userInfoEndpoint The OIDC user info endpoint.
 */
public data class VerifiedAccessTrustProviderOidcOptions(
    public val authorizationEndpoint: String? = null,
    public val clientId: String? = null,
    public val clientSecret: String? = null,
    public val issuer: String? = null,
    public val scope: String? = null,
    public val tokenEndpoint: String? = null,
    public val userInfoEndpoint: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.VerifiedAccessTrustProviderOidcOptions): VerifiedAccessTrustProviderOidcOptions = VerifiedAccessTrustProviderOidcOptions(
            authorizationEndpoint = javaType.authorizationEndpoint().map({ args0 -> args0 }).orElse(null),
            clientId = javaType.clientId().map({ args0 -> args0 }).orElse(null),
            clientSecret = javaType.clientSecret().map({ args0 -> args0 }).orElse(null),
            issuer = javaType.issuer().map({ args0 -> args0 }).orElse(null),
            scope = javaType.scope().map({ args0 -> args0 }).orElse(null),
            tokenEndpoint = javaType.tokenEndpoint().map({ args0 -> args0 }).orElse(null),
            userInfoEndpoint = javaType.userInfoEndpoint().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy