Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 2.17 KB

README.md

File metadata and controls

44 lines (27 loc) · 2.17 KB

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