In this video tutorial, we’ll cover DynamoDB Stream Events and how to connect them up to AWS Lambda Functions with Ruby on Jets. We’ll build a Jets project from scratch with the dynamodb_event declaration. We’ll deploy the application and test the DynamoDB event. We’ll show you how simple it is to get started with Ruby on Jets and DynamoDB Stream Events.
Example
class ClerkJob < ApplicationJob
dynamodb_event "test-table" # existing table
def file
puts "event #{JSON.dump(event)}"
end
end
- Ruby on Jets DynamoDB Events Docs
- The full source code is available on GitHub: tongueroo/jets-dynamodb-example
Hope you’ve enjoyed this article. If you find AWS Lambda, Serverless and Ruby on Jets interesting, please give it ⭐️ on GitHub. I’d appreciate it. 👍