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.
Terms and conditions apply.
Lab info
Lab author
Challenge
Review the Existing Amazon API Gateway in Your Account
You’ll review and test the existing Amazon API Gateway endpoint in your account.
Challenge
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.
Challenge
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.
Challenge
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.
Guided walkthrough
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.
Recommended prerequisites
- Basic understanding of Identity and Access Management (IAM), Roles, and Permissions.
- Basic understanding of AWS Lambda functions.
- Basic understanding of Amazon API Gateway.