com.pulumi.gcp.applicationintegration.kotlin.inputs.AuthConfigDecryptedCredentialJwtArgs.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.AuthConfigDecryptedCredentialJwtArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property jwt (Output)
* The token calculated by the header, payload and signature.
* @property jwtHeader Identifies which algorithm is used to generate the signature.
* @property jwtPayload Contains a set of claims. The JWT specification defines seven Registered Claim Names which are the standard fields commonly included in tokens. Custom claims are usually also included, depending on the purpose of the token.
* @property secret User's pre-shared secret to sign the token.
*/
public data class AuthConfigDecryptedCredentialJwtArgs(
public val jwt: Output? = null,
public val jwtHeader: Output? = null,
public val jwtPayload: Output? = null,
public val secret: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialJwtArgs =
com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialJwtArgs.builder()
.jwt(jwt?.applyValue({ args0 -> args0 }))
.jwtHeader(jwtHeader?.applyValue({ args0 -> args0 }))
.jwtPayload(jwtPayload?.applyValue({ args0 -> args0 }))
.secret(secret?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AuthConfigDecryptedCredentialJwtArgs].
*/
@PulumiTagMarker
public class AuthConfigDecryptedCredentialJwtArgsBuilder internal constructor() {
private var jwt: Output? = null
private var jwtHeader: Output? = null
private var jwtPayload: Output? = null
private var secret: Output? = null
/**
* @param value (Output)
* The token calculated by the header, payload and signature.
*/
@JvmName("jclindkmeoougmvy")
public suspend fun jwt(`value`: Output) {
this.jwt = value
}
/**
* @param value Identifies which algorithm is used to generate the signature.
*/
@JvmName("lldjrqoudmgfbvbu")
public suspend fun jwtHeader(`value`: Output) {
this.jwtHeader = value
}
/**
* @param value Contains a set of claims. The JWT specification defines seven Registered Claim Names which are the standard fields commonly included in tokens. Custom claims are usually also included, depending on the purpose of the token.
*/
@JvmName("ykihqrnbsbrktlvq")
public suspend fun jwtPayload(`value`: Output) {
this.jwtPayload = value
}
/**
* @param value User's pre-shared secret to sign the token.
*/
@JvmName("qfaiyatxcfjmsikm")
public suspend fun secret(`value`: Output) {
this.secret = value
}
/**
* @param value (Output)
* The token calculated by the header, payload and signature.
*/
@JvmName("okbeiaiulnrsdplk")
public suspend fun jwt(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jwt = mapped
}
/**
* @param value Identifies which algorithm is used to generate the signature.
*/
@JvmName("xivtisbpoppswney")
public suspend fun jwtHeader(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jwtHeader = mapped
}
/**
* @param value Contains a set of claims. The JWT specification defines seven Registered Claim Names which are the standard fields commonly included in tokens. Custom claims are usually also included, depending on the purpose of the token.
*/
@JvmName("qkrlmfdcemjlyntx")
public suspend fun jwtPayload(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jwtPayload = mapped
}
/**
* @param value User's pre-shared secret to sign the token.
*/
@JvmName("asqoojrheydvhldl")
public suspend fun secret(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secret = mapped
}
internal fun build(): AuthConfigDecryptedCredentialJwtArgs = AuthConfigDecryptedCredentialJwtArgs(
jwt = jwt,
jwtHeader = jwtHeader,
jwtPayload = jwtPayload,
secret = secret,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy