We create a simple endpoint and create a Lambda function that handles the request
Its very simple,
- Create the function
- The runtime, code(location), and handler({file}.{name of function})
- Create the api gateway
- reference the hanlder (the function we created in #1)
- proxy false
- Add a resource (so
/endpoint
) - Add method to that resource (so,
GET
,POST
, etc)