AuthorizerJwtConfiguration

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

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: List<String>? = null, issuer: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val audience: 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: 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.