Let’s use Lambda to handle database changes in real time!
- Java Insert/Update Functionality
- Create a lambda function, in Java, that can add a record to your Taskmaster table.
- Run this only in “Test” mode
- It should receive the same object that your API was handling earlier.
- Repeat for “PUT” / update functionality
- Do NOT handle images at this point.
- You might want to keep this warm…
- Javascript or Python
- Create a lambda function that will handle a Dynamo Event
- Initial Task: Log out the deltas
- Stretch Goal: Update the history!
- Setup a Dynamo Trigger
- Configure your DynamoDB Table to invoke your lambda function on database change operations.
- Trevor Dobson