Start free

Browse › Implement a Secure Serverless REST API

Add a PUT Method to an Amazon API Gateway

Advanced

Part of Implement a Secure Serverless REST API Topic: AWS

Counts towardsAWS Certified Security – Specialty badge

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this lab, you will add a PUT method to an AWS Lambda API fronted by Amazon API Gateway that writes data to an Amazon DynamoDB database, test this change, and then promote it to a new testing environment.

  1. Create a new Lambda function that can add data to a DynamoDB database
  2. Add a route to an API Gateway that supports the HTTP PUT verb against this function
  3. Verify that you can submit and store data successfully in DynamoDB by using the new secure function endpoint
  4. Create a new stage in API Gateway called test and promote your changes from dev to test
  5. Add a new test API key and usage plan to API Gateway
  6. Verify you can call the endpoint successfully in test

Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.

Roadmaps that use this lab