In this video, learn how to trigger a new Lambda when there is a new message in the stream.
- Let's look at what we built in the previous chapters. … When a customer makes a new order, … it triggers a Lambda that saves the order … metadata in the DynamoDB Table, … and puts the order in the stream. … So far the order in the stream … hasn't served much of a purpose. … In this chapter, we will trigger a new Lambda … when there is a new order in the stream, … and that new Lambda will notify the cake producer … that there was a new order placed by sending an email. … In the first challenge we already built the flow … that modifies the cake order in system, … when the cake producer has finished making the cake, … and the cake is ready for delivery. … So now we have our order in the stream, … our order placed, … and we need to trigger a new Lambda when an order is placed. … So the first thing we need to do is to create this Lambda, … and to show you how to trigger a Lambda … when there is a new event in the stream. … So let's go to our serverless yml. … Let's go under fulfillment, …
- Backend as a service (BaaS)
- Function as a service (FaaS)
- Why infrastructure as code is so important
- Creating an order
- Setting up DynamoDB
- Saving into a DynamoDB table
- Using AWS SDK
- Sending a message to the stream
- Deploying and testing an application
- Cleaning up an AWS environment
Skill Level Intermediate
AWS for Developers: AWS AppSync with GraphQLwith Bear Cahill1h 25m Intermediate
Introduction to AWS DeepLenswith Jonathan Fernandes33m 50s Intermediate
What you should know1m 27s
1. Get Started with Serverless
2. Get Started with Kinesis
3. SNS, SQS, and Kinesis
4. Lifecycle of a Message in the Stream
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.