AWS SAM – Secure Api Gateway endpoints using CognitoUserPool

In this tutorial, we are going to see how to secure API gateway endpoints using CognitoUserPool. The user pool is