Integrate /users - POST method with create-user

  1. Go back to the Resources section of the UsersAPI API in API Gateway console.
  2. Select /users resource.
  3. Click Create method.

alt text

  1. In the Create method page, Method details section:
  • Method type: Select POST.
  • Integration type: Keep Lambda function.
  • Lambda function: Choose the create-user function.

alt text

  1. Keep other settings as default.

    • Scroll to the bottom and click Create method.
  2. You will be redirect to the detail of the /users - POST method.

alt text