com.pulumi.gcp.applicationintegration.kotlin.outputs.AuthConfigDecryptedCredentialOidcToken.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.applicationintegration.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property audience Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for.
* @property serviceAccountEmail The service account email to be used as the identity for the token.
* @property token (Output)
* ID token obtained for the service account.
* @property tokenExpireTime (Output)
* The approximate time until the token retrieved is valid.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
public data class AuthConfigDecryptedCredentialOidcToken(
public val audience: String? = null,
public val serviceAccountEmail: String? = null,
public val token: String? = null,
public val tokenExpireTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.applicationintegration.outputs.AuthConfigDecryptedCredentialOidcToken): AuthConfigDecryptedCredentialOidcToken = AuthConfigDecryptedCredentialOidcToken(
audience = javaType.audience().map({ args0 -> args0 }).orElse(null),
serviceAccountEmail = javaType.serviceAccountEmail().map({ args0 -> args0 }).orElse(null),
token = javaType.token().map({ args0 -> args0 }).orElse(null),
tokenExpireTime = javaType.tokenExpireTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy