Hi, and welcome to the example code repo for our O'Reilly book "Programming AWS Lambda".
For more info on the book itself, see:
This current branch of the code was updated in 2025 to include major updates, related to changes in dependencies since the book was published in 2020. These changes include:
- Updating to use Java 21, and to use the AWS Lambda Java 21 runtime
- Some minor code updates enabled by Java 21 updates vs. Java 8 - mostly just using the
varkeyword - Switching to AWS SDK V2, which has syntax changes for accessing all AWS services
- Testing code updated and modified to use JUnit 5 and Mockito 5
- Various other other library updates
The original code is available in the pre-2025-updates tag.
For errata and updates, please see this page.
We plan on adding blog entries too - keep your eyes peeled on our blog and our Twitter.
To download this complete repository, use this link .
Enjoy, and go serverless!
John & Mike
