AWS-SNS-SQS-Lambda-Trigger-Template
SQS Lambda Trigger Template with SNS, node js, typescript
How to Use?
-
Must install Severless, Node js and have AWS account
-
Clone this project or Download this project
-
Move this project directory
-
npm install
-
Edit function part at serverless.yml file Add your SQS Arn and set batch size
-
sls deploy -v
-
Set sqs lambda trigger at AWS SQS console
-
Set Subscribe SNS Topic at same SQS queue
-
send SNS message (No Raw Message, if you want to use raw message, edit handler.ts file)
-
Check your lambda log, Done