Besides showing off Momento, this is also a nice example of how to write a simple, modern, Rust-based AWS Lambda function, including the setup with CDK. Check it out. This has been a rapidly evolving space and many of the examples you'll find out there are outdated or missing key pieces.
I recently created a few examples of how to use the @Momento Rust SDK in AWS Lambda. I haven't benchmarked them yet (stay tuned!), but it's *wild* how fast they "feel" from running them in the AWS console 😍 ⚡ https://lnkd.in/gxGMXUPR