RESTful API using AWS API Gateway and Lambda
Nov 8 · 2 min read
AWS API Gateway along with Lambda provides infrastructure for setting up server-less RESTful APIs.

I assume that you already have access to AWS Services.
Setting up Python function on AWS Lambda
AWS Lamda supports JAVA8, NodeJS, Python etc. Let’s use Python as example in this article.
It is recommended to define a custom role under IAM-Roles, by providing necessary permissions/access for lambda functions; For SES Access, SNS Access etc.
I have created simple Python lambda function to return response in JSON format.

Setting up API on AWS API Gateway
Create API and Resource


Deploy API , copy endpoint URL and execute using postman

