• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
didil

Lambda PubSub via SNS Example

by

Example illustrating the flow: Lambda (publisher) => SNS => Lambda (consumer)

  1. Lambda PubSub via SNS Example

Serverless Lambda SNS Example

Example illustrating the flow:

Lambda (publisher) => SNS => Lambda (consumer)

Setup

  • Install Node 8.10 (latest runtime supported by AWS Lambda)

  • Install serverless (tested against serverless v1.28.0)

$ npm i -g serverless 
  • Install node modules
$ npm i 
  • Initialize env variables file
$ touch env.yml 
  • Run tests
$ npm test

Contents

  • Serverless Lambda SNS Example
  • Setup

Related

GuidesPluginsExamplesSlack CommunitySupport