AwsApiGatewayHttpJwtAuthorizerArgs

interface AwsApiGatewayHttpJwtAuthorizerArgs { audiences: Input<string>[]; identitySource?: Input<string>; issuer: Input<string>; name: Input<string>; type: 'JWT'; }

HTTP JWT authorizer capability settings.

Example

CODE
const authorizer: AwsApiGatewayHttpJwtAuthorizerArgs = {
  type: 'JWT',
  name: 'orders-jwt',
  issuer: 'https://issuer.example.com',
  audiences: ['orders-api'],
};

Properties

audiences: Input<string>[]

Intended JWT audiences.

identitySource: Input<string>

Optional JWT token source. Defaults to $request.header.Authorization.

issuer: Input<string>

Identity provider issuer URL.

name: Input<string>

Explicit authorizer purpose name.

type: 'JWT'

Authorizer capability type.