Step 1: Set up your infrastructure - Amazon CodeDeploy
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

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 and the Lambda console or the Amazon CLI to test your Lambda function.