In this video I will create an AWS AppSync API with AWS CDK to build out a product API for a basic E Commerce backend.
The API will enable multiple authorization scenarios - both public and private access - to enable unauthenticated users to read and authenticated users who are part of an Admin group to create, update and delete products.
Workshop materials & code:
[ Ссылка ]
0:00 - Introduction
0:45 - Creating the project & installing dependencies
2:04 - Creating the Cognito service
3:21 - Creating the AppSync API
8:55 - Creating the Lambda function
10:11 - Defining the resolvers
10:56 - Creating the DynamoDB table
12:35 - Creating the CFN outputs
13:36 - Writing the function code
24:00 - Running a build and deploying the services
25:31 - Testing it out
30:49 - Conclusion
Ещё видео!