Published On Aug 18, 2019
DynamoDB Streams are a powerful feature that allow applications to respond to change on your table's records. Combining this feature with Lambda functions creates a highly scalable and fault tolerant application that can easily respond to record modification. In this video, I show you how to create a Lambda function and define a handler function (in python) that will respond to DynamoDB change events. From there, I define a required IAM role and attach it to the Lambda Function. Afterwards, I create a DynamoDB table and hook up the Lambda trigger. I test the connectivity by making manual updates on my DynamoDB table and confirm the Lambda function is responding appropriately.
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 / Resources:
Getting started with AWS: Ā Ā Ā ā¢Ā IntroductionĀ toĀ AWSĀ |Ā AĀ CompleteĀ Begi...Ā Ā
Lambda function code (python): https://gist.github.com/djg07/2bcf216...
āTopics covered include:
- Lambda Function Creation
- Lambda handler using python
- Lambda DynamoDB Streams IAM role
- DynamoDB Table Setup
- DynamoDB Streams
- DynamoDB NewImage
- DynamoDB OldImage
- DynamoDB Stream "Change" Events
- Lambda Cloudwatch Monitoring
š Find me here:
Twitter - Ā Ā /Ā beabetterdevvĀ Ā
Instagram - Ā Ā /Ā beabetterdevvĀ Ā
Patreon - Donations help fund additional content - Ā Ā /Ā beabetterdevĀ Ā
#DynamoDB
#DynamoDBStreams
#Lambda
#AWS
#Serverless