create API using AWS API Gateway service Lambda

> Create REST API where you gain complete control over the request and response along with API management capabilities

> Press Build / (REST and New API)

Tick Enable API Gateway CORS if you want call directly from JS function.

> Create New Child Resource, and noted that Resource Path* should has (/)

Note: The mechanism is completely similar to Route::resource('users', 'UserController'); in Laravel framework.

> Add / Delete Method in child resource. Here is an example, we keep GET method only and remove OPTIONS.

> Deploy API, you need to New Stage as dev, stage or prod. Then, proceed to deploy API after done established authorization, parameters, restrictions, ...

> Double Click to Method Request, Method Response and Integration Request can help to get more configurations for API.

get detail of lambda function Input format of a Lambda function for proxy integration add Layers to Lambda function
You need to login to do this manipulation!