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

com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionAuthConfigOauth2JwtBearer.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Suppress

/**
 *
 * @property clientKey Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate.
 * This private key will be used to sign JWTs used for the jwt-bearer authorization grant.
 * Specified in the form as: projects/*/secrets/*/versions/*.
 * @property jwtClaims JwtClaims providers fields to generate the token.
 * */*/*/
 */
public data class ConnectionAuthConfigOauth2JwtBearer(
    public val clientKey: ConnectionAuthConfigOauth2JwtBearerClientKey? = null,
    public val jwtClaims: ConnectionAuthConfigOauth2JwtBearerJwtClaims? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.integrationconnectors.outputs.ConnectionAuthConfigOauth2JwtBearer): ConnectionAuthConfigOauth2JwtBearer = ConnectionAuthConfigOauth2JwtBearer(
            clientKey = javaType.clientKey().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionAuthConfigOauth2JwtBearerClientKey.Companion.toKotlin(args0)
                })
            }).orElse(null),
            jwtClaims = javaType.jwtClaims().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionAuthConfigOauth2JwtBearerJwtClaims.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy