Skip to content

A sample AWS SAM application that uses Lambda to trigger an SNS topic that sends emails.

License

Notifications You must be signed in to change notification settings

kshyun28/aws-lambda-sns-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-sns-poc

This project contains source code and supporting files for a serverless application that you can deploy with the AWS Serverless Application Model (AWS SAM) command line interface (CLI).

The serverless application consists of the following AWS resources:

High-Level Diagram

A post endpoint is exposed through API Gateway, which then triggers the Lambda function.

The Lambda function then publishes a message to an SNS topic that will email subscribers.

Note: The sample application is configured as a webhook for QuickNode QuickAlerts.

This sends an email based on real-time blockchain events.

QuickAlerts High-Level Diagram

Using the AWS SAM CLI

Follow the official AWS documentation to setup AWS SAM CLI.

After installing, make sure to configure your AWS credentials by following this guide.

Development and Deployment

Run the following commands:

  1. sam build
  2. sam deploy

After the initial deployment, you can quickly sync code and infrastructure changes by running sam sync.

Resources

About

A sample AWS SAM application that uses Lambda to trigger an SNS topic that sends emails.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published