Dynamic ARN to Cognito authorizer

I managed to get it working, building a Cognito User Pool Authorizer on the fly to put as the function authorizer arn.

Authorizer Config
Function config

It’s part of my Serverless Yeoman Generator.

Hope it helps! :slight_smile:

Took a couple of days to figure it out, writing tests and debugging the resource builders of aws provider.

2 Likes