sam-goodwin / punchcard

Type-safe AWS infrastructure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Lambda authorizers

pocesar opened this issue · comments

Lambda authorizers are clunky and needs a lot of boilerplate, would be a very good candidate for a higher level abstraction, providing some common strategies, like plain JWT as bearer or making use of Cognito

commented

Totally needed - it should be as simple as implementing a base class or just including a default implementation.

How much can we configure with API GW in CFN?

AppSync (graphql) exposes annotations on methods which should be very simple to generate from an in-code representation with decorators.