AWS Lambda Integration with Amazon DynamoDB Streams

  • Amazon DynamoDB is integrated with AWS Lambda so that you can create triggers, which are pieces of code that automatically respond to events in DynamoDB Streams. With triggers, you can build applications that react to data modifications in DynamoDB tables.

AWS Lambda

  • After you enable DynamoDB Streams on a table, associate the DynamoDB table with a Lambda function. AWS Lambda polls the stream and invokes your Lambda function synchronously when it detects new stream records.

AWS Lambda

AWS Lambda

IT Certification Category (English)728x90
  •  Configure the StreamSpecification you want for your DynamoDB Streams:
    • StreamEnabled (Boolean) – indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
    • StreamViewType (string) – when an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Valid values for StreamViewType are:
      • KEYS_ONLY – Only the key attributes of the modified items are written to the stream.
      • NEW_IMAGE – The entire item, as it appears after it was modified, is written to the stream.
      • OLD_IMAGE – The entire item, as it appeared before it was modified, is written to the stream.
      • NEW_AND_OLD_IMAGES – Both the new and the old item images of the items are written to the stream.

AWS Lambda

 

References:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.Lambda.html
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_StreamSpecification.html

***

AWS Certifications are consistently among the top paying IT certifications in the world, considering that Amazon Web Services is the leading cloud services platform with almost 50% market share! Earn over $150,000 per year with an AWS certification!

Subscribe to our newsletter and notifications for more helpful AWS cheat sheets and study guides like this and answer as many AWS practice exams as you can.🙂

Enroll Now – AWS Certified Cloud Practitioner Practice Exams

AWS Certified Cloud Practitioner Practice Tests

Enroll Now – AWS Certified Solutions Architect Associate Practice Exams

AWS Certified Solutions Architect Associate

Enroll Now – AWS Certified Developer Associate Practice Exams

AWS Certified Developer Associate Tutorials Dojo

Enroll Now – AWS Certified SysOps Administrator Associate Practice Exams

AWS Certified SysOps Administrator Associate Tutorials Dojo

Enroll Now – AWS Certified Solutions Architect Professional Practice Exams

AWS Certified Solutions Architect Professional Tutorials Dojo

Affordable AWS Educational Materials

Browse Other Courses

Generic Category (English)300x250

Recent Posts