com.pulumi.gcp.applicationintegration.kotlin.inputs.AuthConfigDecryptedCredentialOidcTokenArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialOidcTokenArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 AuthConfigDecryptedCredentialOidcTokenArgs(
public val audience: Output? = null,
public val serviceAccountEmail: Output? = null,
public val token: Output? = null,
public val tokenExpireTime: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialOidcTokenArgs =
com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialOidcTokenArgs.builder()
.audience(audience?.applyValue({ args0 -> args0 }))
.serviceAccountEmail(serviceAccountEmail?.applyValue({ args0 -> args0 }))
.token(token?.applyValue({ args0 -> args0 }))
.tokenExpireTime(tokenExpireTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AuthConfigDecryptedCredentialOidcTokenArgs].
*/
@PulumiTagMarker
public class AuthConfigDecryptedCredentialOidcTokenArgsBuilder internal constructor() {
private var audience: Output? = null
private var serviceAccountEmail: Output? = null
private var token: Output? = null
private var tokenExpireTime: Output? = null
/**
* @param value Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for.
*/
@JvmName("dimkchefpafwbsim")
public suspend fun audience(`value`: Output) {
this.audience = value
}
/**
* @param value The service account email to be used as the identity for the token.
*/
@JvmName("bbvjhkgqbgctsvxv")
public suspend fun serviceAccountEmail(`value`: Output) {
this.serviceAccountEmail = value
}
/**
* @param value (Output)
* ID token obtained for the service account.
*/
@JvmName("hptwixhujpusntwm")
public suspend fun token(`value`: Output) {
this.token = value
}
/**
* @param value (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".
*/
@JvmName("pbibrtcvueomwpgu")
public suspend fun tokenExpireTime(`value`: Output) {
this.tokenExpireTime = value
}
/**
* @param value Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for.
*/
@JvmName("kxjblolowiccihmt")
public suspend fun audience(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.audience = mapped
}
/**
* @param value The service account email to be used as the identity for the token.
*/
@JvmName("gbhrmfdhdrwndbbw")
public suspend fun serviceAccountEmail(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceAccountEmail = mapped
}
/**
* @param value (Output)
* ID token obtained for the service account.
*/
@JvmName("fscdratbaftrvokl")
public suspend fun token(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.token = mapped
}
/**
* @param value (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".
*/
@JvmName("taekrstmvnolypnq")
public suspend fun tokenExpireTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tokenExpireTime = mapped
}
internal fun build(): AuthConfigDecryptedCredentialOidcTokenArgs =
AuthConfigDecryptedCredentialOidcTokenArgs(
audience = audience,
serviceAccountEmail = serviceAccountEmail,
token = token,
tokenExpireTime = tokenExpireTime,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy