![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apigatewayv2.kotlin.inputs.AuthorizerJwtConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apigatewayv2.kotlin.inputs
import com.pulumi.awsnative.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
/**
* The ``JWTConfiguration`` property specifies the configuration of a JWT authorizer. Required for the ``JWT`` authorizer type. Supported only for HTTP APIs.
* @property audience A list of the intended recipients of the JWT. A valid JWT must provide an ``aud`` that matches at least one entry in this list. See [RFC 7519](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc7519#section-4.1.3). Required for the ``JWT`` authorizer type. Supported only for HTTP APIs.
* @property issuer The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: ``https://cognito-idp.{region}.amazonaws.com/{userPoolId}``. Required for the ``JWT`` authorizer type. Supported only for HTTP APIs.
*/
public data class AuthorizerJwtConfigurationArgs(
public val audience: Output>? = null,
public val issuer: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.apigatewayv2.inputs.AuthorizerJwtConfigurationArgs =
com.pulumi.awsnative.apigatewayv2.inputs.AuthorizerJwtConfigurationArgs.builder()
.audience(audience?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.issuer(issuer?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AuthorizerJwtConfigurationArgs].
*/
@PulumiTagMarker
public class AuthorizerJwtConfigurationArgsBuilder internal constructor() {
private var audience: Output>? = null
private var issuer: Output? = null
/**
* @param value A list of the intended recipients of the JWT. A valid JWT must provide an ``aud`` that matches at least one entry in this list. See [RFC 7519](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc7519#section-4.1.3). Required for the ``JWT`` authorizer type. Supported only for HTTP APIs.
*/
@JvmName("wkaorhqoluaoubvn")
public suspend fun audience(`value`: Output>) {
this.audience = value
}
@JvmName("wtscxiktnxksopqc")
public suspend fun audience(vararg values: Output) {
this.audience = Output.all(values.asList())
}
/**
* @param values A list of the intended recipients of the JWT. A valid JWT must provide an ``aud`` that matches at least one entry in this list. See [RFC 7519](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc7519#section-4.1.3). Required for the ``JWT`` authorizer type. Supported only for HTTP APIs.
*/
@JvmName("mcaycyxlqfmxayes")
public suspend fun audience(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy