Step 1: Set up your infrastructure
This topic shows you how to use Amazon SAM to create files for your Amazon SAM template and your
Lambda functions. Then, you use the Amazon SAM package
and deploy
commands
to generate the components in your infrastructure. When your infrastructure is ready, you have
a CodeDeploy application and deployment group, the Lambda function to update and deploy, and two
Lambda functions that contain validation tests that run when you deploy the Lambda function.
When complete, you can use Amazon CloudFormation to view your components in the Lambda console or the Amazon CLI to
test your Lambda function.