Building your first API using the AWS CLI

In this recipe, we will create a simple REST API with mock integration, using CLI commands. We will specify a name as a path parameter, and the API will greet that person. In the next recipe, we will use CloudFormation templates to create the API. From that point, we will use both the CLI commands and the CloudFormation templates. 

In Chapter 1, Getting Started with Serverless Computing on AWS, we created Lambdas using the management console, the CLI, CloudFormation, and the serverless framework. From this chapter onward, we will mostly focus on using CloudFormation templates, but we will first discuss the corresponding CLI commands, as they can help us to better understand the templates.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.221.133