Protect an Amazon API Gateway Using a Request Parameter-based Lambda Authorizer
In this lab, you’ll practice configuring API Gateway endpoints with a request based Lambda authorizer. When you’re finished with this lab, you’ll have a good understanding of configuring Lambda authorizers and controlling access to the API.
* Our Labs are Available for Enterprise and Professional plans only. Terms and conditions apply.
Pawan Puthran is a Serverless Specialist at Amazon Web Services (AWS). He specializes in AWS Serverless technology like AWS Lambda, API Gateway, SQS, SNS & AWS AppSync. He has been an AWS user since 2015 and has architected and implemented many scalable backend systems running on AWS. He also holds an expertise on Serverless Observability, Operations and helps his customers, build highly scalable, reliable, cost-effective cloud based applications. Pawan has spoken at various public conferences a... morend is a regular speaker at AWS User Meetup groups. In his free time, Pawan enjoys heading to the beach with his family or doing science experiments with his son
Review the Existing Amazon API Gateway in Your Account
You’ll review and test the existing Amazon API Gateway endpoint in your account.
Create a Request-based Lambda Authorizer Function
You’ll learn to create a Lambda authorizer function that checks the authorization header and query string parameter in the request to allow or deny a request.
Create a New Authorizer on API Gateway
You’ll learn to create a new authorizer using the API Gateway. You’ll also test the authorizer in the API Gateway console.
Configure a Request-based Authorizer on an API Gateway Endpoint
You’ll learn to configure a request-based authorizer on the API Gateway endpoint. You’ll also test the API endpoint by passing the authorization token in the request header and the department in the query string.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Basic understanding of Identity and Access Management (IAM), Roles, and Permissions.