The AWS Serverless Application Model (AWS SAM) is an open-source framework that helps to build Serverless applications on AWS. It provides a command-line interface (CLI) and extensions on top of AWS Cloud Formation to simplify the development of serverless applications.
In this video, we will walk through how to initialize, build, deploy and develop against your first serverless Java application. We will discuss how SAM compiles and deploys your code and also an easy way to speed up the software development life cycle.
00:00 - Introduction
00:30 - Why single purpose handlers?
01:20 - Prerequisites
01:30 - Initialize a new project
03:10 - Exploring Lambda Function code
04:20 - Context parameter
05:30 - Initialization code
07:00 - AWS SAM Templates
09:00 - Deploy
11:50 - SAM Sync
14:15 - Tests
Links
Install SAM CLI - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html
Overview of SAM - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html
AWS SAM Template Structure - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy.html
Twitter - https://twitter.com/plantpowerjames
LinkedIn - https://www.linkedin.com/in/james-eastham/
Java on Serverless - https://javaonserverless.dev/docs/intro