Query and GetItem on a DynamoDB Table | Step by Step Tutorial

Опубликовано: 24 Июль 2026
на канале: Be A Better Dev
90,379
941

In this video I show you how to perform DynamoDB GetItem and Query on a DynamoDB Table. I start out by explaining my DynamoDB Table schema, followed by the question I am trying to answer with my query. From there, I create an appropriate IAM role and attach it to my Lambda function. Afterwards, I code up my queries using Python and execute them on a Lambda function.

Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! https://courses.beabetterdev.com/cour...

📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
Clean Code - https://amzn.to/37T7xdP
Clean Architecture - https://amzn.to/3sCEGCe
Head First Design Patterns - https://amzn.to/37WXAMy
Domain Driver Design - https://amzn.to/3aWSW2W
Code Complete - https://amzn.to/3ksQDrB
The Pragmatic Programmer - https://amzn.to/3uH4kaQ
Algorithms - https://amzn.to/3syvyP5
Working Effectively with Legacy Code - https://amzn.to/3kvMza7
Refactoring - https://amzn.to/3r6FQ8U

🎙 MY RECORDING EQUIPMENT 🎙
Shure SM58 Microphone - https://amzn.to/3r5Hrf9
Behringer UM2 Audio Interface - https://amzn.to/2MuEllM
XLR Cable - https://amzn.to/3uGyZFx
Acoustic Sound Absorbing Foam Panels - https://amzn.to/3ktIrY6
Desk Microphone Mount - https://amzn.to/3qXMVIO
Logitech C920s Webcam - https://amzn.to/303zGu9
Fujilm XS10 Camera - https://amzn.to/3uGa30E
Fujifilm XF 35mm F2 Lens - https://amzn.to/3rentPe
Neewer 2 Piece Studio Lights - https://amzn.to/3uyoa8p

💻 MY DESKTOP EQUIPMENT 💻
Dell 34 inch Ultrawide Monitor - https://amzn.to/2NJwph6
Autonomous ErgoChair 2 - https://bit.ly/2YzomEm
Autonomous SmartDesk 2 Standing Desk - https://bit.ly/2YzomEm
MX Master 3 Productivity Mouse - https://amzn.to/3aYwKVZ
Das Keyboard Prime 13 MX Brown Mechanical- https://amzn.to/3uH6VBF
Veikk A15 Drawing Tablet - https://amzn.to/3uBRWsN  

📚 References:
Source Code - https://gist.github.com/djg07/301b24c...
DynamoDB Schema Design Video -    • AWS DynamoDB Schema Design | How to choose...  
DynamoDB Playlist -    • AWS DynamoDB Guides - Everything you need ...  
DynamoDB Query Pagination Overview -    • How Pagination Works in DynamoDB  
Getting started with AWS:    • Introduction to AWS | A Complete Beginner ...  

☁Topics covered include:
DynamoDB Table Design
DynamoDB Access Policy
DynamoDB IAM Role
DynamoDB GetItem
DynamoDB Query
DynamoDB KeyConditionExpression
DynamoDB Partition Key
DynamoDB Sort Key

🌎 Find me here:
Twitter -   / beabetterdevv  
Instagram -   / beabetterdevv  
Patreon - Donations help fund additional content -   / beabetterdev  

#AWS
#DynamoDB
#Lambda