0
votes

I am trying to use AWS API Gateway and AWS Lambda(Python) for serving some static request. My use case requires me to create an API Gateway and lambda function once a setting is saved in my web application.

I was wondering if there is a way to create API Gateway and Lambda Function by API.

2

2 Answers

0
votes

Of course you can use the Amazon Console to create Lambda functions and API Gateways.

Review the Amazon Console documentation.

Working with the AWS Management Console

Getting Started Guide

Review the API Gateway and Lambda Python SDKs:

APIGateway

Lambda

0
votes

Rather than using the API, I strongly suggest that you look into The Serverless Framework. It does all of the heavy lifting for you, allowing you to focus on the code, and your business specific logic.

https://serverless.com/framework/docs/providers/aws/guide/quick-start/

This link shows a quickstart guide to deploying a Hello World Lambda and API Gateway resources. The more I use the framework the more I like it :)