AWS-Logo_White-Color
1.
Introduction
2.
Preparation
3.
Create REST API Gateway
4.
Integrate API methods with Lambda functions
4.1.
Integrate /users - GET method with list-users
4.2.
Integrate /users - POST method with create-user
4.3.
Integrate /users/{userId} - GET method with get-user
4.4.
Integrate /users/{userId} - PATCH method with update-user
4.5.
Integrate /users/{userId} - DELETE method with delete-user
5.
Test methods of REST API Gateway
5.1.
Test /users - GET method
5.2.
Test /users - POST method
5.3.
Test /users/{userId} - GET method
5.4.
Test /users/{userId} - PATCH method
5.5.
Test /users/{userId} - DELETE method
6.
Deploy the API Gateway to a stage
6.1.
Deployment and stage
6.2.
Deploy or publish?
6.3.
Endpoint URL and Invoke URL
6.4.
Deploy the UsersAPI to dev stage
7.
Invoke the methods of REST API Gateway
8.
Cleanup
9.
Summary
More
AWS Study Group
English
Tiếng Việt
Clear History
Workshop
Cloud Journey
Last updated
09-07-2025
4bb1681
Team
Gia Hưng
Hoàng Kha
Quang Thắng
Building REST APIs with Amazon API Gateway and AWS Lambda
> Note
Note
What is exactly an event?
AWS has tools to generate event:
AWS SAM CLI
has
sam local generate-event
to generate event payload samples for supported AWS services.
Amazon EventBridge
has
schema registry
for schema that defines the structure and content of events that are passed on an event bus in Amazon EventBridge.
AWS Integrated Application Test Kit (AWS IATK)
provides the capability for you to
generate mock events
from a schema stored in the Amazon EventBridge schema registry.