Config API Gateway

Next, we’ll set up the API Gateway to interact with the Lambda functions created in the previous section:

  1. Open API Gateway console, click Create API CreateRestAPI

  2. Scroll down and click Build for REST API CreateRestAPI

  3. On Create REST API page:

    • Select New API to create a new API
    • Enter REST API name, e.g., fcj-serverless-api
    • For API endpoint type: choose Regional
    • Click Create API CreateRestAPI
  4. After API is created, click Create resource CreateRestAPI

  5. On Create resource page:

    • Enter resource name, e.g., books
    • Click Create resource CreateRestAPI
  6. Resource books created successfully CreateRestAPI