com.pulumi.gcp.container.kotlin.inputs.AttachedClusterOidcConfigArgs.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.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AttachedClusterOidcConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property issuerUrl A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`
* @property jwks OIDC verification keys in JWKS format (RFC 7517).
*/
public data class AttachedClusterOidcConfigArgs(
public val issuerUrl: Output,
public val jwks: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AttachedClusterOidcConfigArgs =
com.pulumi.gcp.container.inputs.AttachedClusterOidcConfigArgs.builder()
.issuerUrl(issuerUrl.applyValue({ args0 -> args0 }))
.jwks(jwks?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AttachedClusterOidcConfigArgs].
*/
@PulumiTagMarker
public class AttachedClusterOidcConfigArgsBuilder internal constructor() {
private var issuerUrl: Output? = null
private var jwks: Output? = null
/**
* @param value A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`
*/
@JvmName("hthkuhthgipaslju")
public suspend fun issuerUrl(`value`: Output) {
this.issuerUrl = value
}
/**
* @param value OIDC verification keys in JWKS format (RFC 7517).
*/
@JvmName("lskbdmjjjkdaibac")
public suspend fun jwks(`value`: Output) {
this.jwks = value
}
/**
* @param value A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`
*/
@JvmName("viyhvlepodwkhysm")
public suspend fun issuerUrl(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.issuerUrl = mapped
}
/**
* @param value OIDC verification keys in JWKS format (RFC 7517).
*/
@JvmName("cwlwvajccbmoflgu")
public suspend fun jwks(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jwks = mapped
}
internal fun build(): AttachedClusterOidcConfigArgs = AttachedClusterOidcConfigArgs(
issuerUrl = issuerUrl ?: throw PulumiNullFieldException("issuerUrl"),
jwks = jwks,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy