com.pulumi.aws.apigatewayv2.kotlin.inputs.AuthorizerJwtConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.apigatewayv2.kotlin.inputs
import com.pulumi.aws.apigatewayv2.inputs.AuthorizerJwtConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property audiences List of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list.
* @property issuer Base domain of the identity provider that issues JSON Web Tokens, such as the `endpoint` attribute of the `aws.cognito.UserPool` resource.
*/
public data class AuthorizerJwtConfigurationArgs(
public val audiences: Output>? = null,
public val issuer: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.apigatewayv2.inputs.AuthorizerJwtConfigurationArgs =
com.pulumi.aws.apigatewayv2.inputs.AuthorizerJwtConfigurationArgs.builder()
.audiences(audiences?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.issuer(issuer?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AuthorizerJwtConfigurationArgs].
*/
@PulumiTagMarker
public class AuthorizerJwtConfigurationArgsBuilder internal constructor() {
private var audiences: Output>? = null
private var issuer: Output? = null
/**
* @param value List of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list.
*/
@JvmName("yoixmnoolxnvhbab")
public suspend fun audiences(`value`: Output>) {
this.audiences = value
}
@JvmName("ceyyehdknasycnsk")
public suspend fun audiences(vararg values: Output) {
this.audiences = Output.all(values.asList())
}
/**
* @param values List of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list.
*/
@JvmName("ijtsbjakebfsacbh")
public suspend fun audiences(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy