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

com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionAuthConfigOauth2JwtBearerJwtClaims.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.integrationconnectors.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property audience Value for the "aud" claim.
 * The `oauth2_client_credentials` block supports:
 * @property issuer Value for the "iss" claim.
 * @property subject Value for the "sub" claim.
 */
public data class ConnectionAuthConfigOauth2JwtBearerJwtClaims(
    public val audience: String? = null,
    public val issuer: String? = null,
    public val subject: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.integrationconnectors.outputs.ConnectionAuthConfigOauth2JwtBearerJwtClaims): ConnectionAuthConfigOauth2JwtBearerJwtClaims = ConnectionAuthConfigOauth2JwtBearerJwtClaims(
            audience = javaType.audience().map({ args0 -> args0 }).orElse(null),
            issuer = javaType.issuer().map({ args0 -> args0 }).orElse(null),
            subject = javaType.subject().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy