This repo is the code for the article I wrote here.
yarn install
First make sure your AWS CLI credentials are configured.
Next, make sure you have the SAM CLI installed and working.
yarn deploy
The test route handler is defined in the index.js
file.
The Request Authorizer is in the authorizer.js
file.
The SAM Template is the template.yaml
file.