Amazon API Gateway REST API to AWS Lambda and Amazon SES

API Gateway REST API → AWS Lambda → Amazon SES

This sample project demonstrates how to publish an email using Amazon SES (Amazon Simple Email Service) by invoking a Lambda function via a REST API

This pattern deploys an Amazon API Gateway REST API with Lambda function and SES integration.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/api-lambda-ses

Deploy

sam deploy --guided --parameter-overrides SENDER=sender@email.com RECIPIENT=recipient@email.com


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Himanshu Goyal

Himanshu Goyal

A Serverless Cloud Engineer and technical writer, dedicated to crafting efficient and scalable solutions using AWS services. My expertise in serverless architecture empowers me to create innovative and cost-effective cloud solutions. I enjoy sharing my knowledge with the serverless community through articles and patterns, helping others explore the vast potential of serverless computing.

Follow on LinkedIn