Skip to content

AWS::ApiGatewayV2::Authorizer

IAM through Sig v4

  • Leverages Sig v4 capability where IAM credentials are in headers

Sig v4

Lambda Authorizer (custom authorizer)

  • Uses AWS Lambda to valdiate the token in the request
  • Good when using OAuth, SAML, etc
  • The lambda must return an iam policy as a result

Lambda Authorizer

Cognito User Pools

  • Cognito manages the user lifecycle
  • API gateway will verify identity from AWS Cognito
  • Only authentication (not authorization)

Cognito User Pools

Properties