AuthorizerJwtConfigurationArgs

data class AuthorizerJwtConfigurationArgs(val audience: Output<List<String>>? = null, val issuer: Output<String>? = null) : ConvertibleToJava<AuthorizerJwtConfigurationArgs>

The `JWTConfiguration` property specifies the configuration of a JWT authorizer. Required for the `JWT` authorizer type. Supported only for HTTP APIs.

Constructors

Link copied to clipboard
constructor(audience: Output<List<String>>? = null, issuer: Output<String>? = null)

Properties

Link copied to clipboard
val audience: Output<List<String>>? = null

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. Required for the `JWT` authorizer type. Supported only for HTTP APIs.

Link copied to clipboard
val issuer: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): AuthorizerJwtConfigurationArgs