Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
The handler itself needs the Dynamo client defined in the parent handler, as well as request payload so it can serialize it into a struct (this is done be using serde_json). Finally in order to successfully submit a PutItem request, a uuid needs to be generated.
After going through the book, it was time to try to apply what I've learned to something I do at work all the time - deploy code to a Lambda. Standing up the project myself made me realize that I had to reference a number of different sources to get things working correctly and there was not a good pattern to follow to automatically deploy via CDK so I wanted to share what I learned along the way!