Start free

Browse › Implement a Secure Serverless REST API

Access a DynamoDB Table Securely from an AWS Lambda Function

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 deploy an AWS Lambda function that securely accesses an Amazon DynamoDB table.

  1. Define an IAM role for your AWS Lambda function that grants it access to your DynamoDB table
  2. Deploy your Lambda function with the IAM role assigned
  3. Test accessing your Lambda function via a function URL to verify your Lambda function can access Amazon DynamoDB

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