hands-on lab

Accessing Amazon DynamoDB Using Amazon API Gateway Service Proxy

Up to 1h
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


An underutilized aspect of API Gateway is its ability to integrate directly with AWS services. It's common to see an API endpoint backed by an AWS Lambda function that performs the service API call, but with the API Gateway Service Proxy feature, developers are able to access services without this additional compute layer. This can reduce the overhead associated with function code development, as well as avoid limitations brought on by AWS Lambda cost, function concurrency, and cold starts.

In this lab, you will configure HTTP endpoints that interact directly with an Amazon DynamoDB table using an API Gateway Service Proxy.

Learning Objectives

Upon completion of this lab, you will be able to:

  • Configure a REST API with a GET and POST method using Amazon API Gateway
  • Integrate an API directly to an Amazon DynamoDB table
  • Deploy an API to an API Gateway stage

Intended Audience

  • Candidates for the AWS Certified Developer Associate Certification
  • Cloud Architects
  • Software Engineers


Familiarity with the following will be beneficial but is not required:

  • Amazon API Gateway
  • Amazon DynamoDB

The following labs can be used to fulfill the prerequisite:


October 25th, 2023 - Updated the instructions and screenshots to reflect the latest UI


Environment before

Environment after

About the author

Jun Fritz, opens in a new tab
Cloud Labs Developer
Learning paths

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Exposing the DynamoDB Scan Operation with an API Gateway Integration
Invoking the DynamoDB PutItem Action with an API Gateway Integration
Deploying an API to a Stage Using API Gateway