Can you send SNS push notification from lambda function to Amazon AWS?

I am developing an application with Amazon AWS and I am trying to connect a lambda function to a DynamoDB table, so after adding a new row, the lambda function is activated. In the aforementioned lambda function, I want to add functionality for sending push notifications using the Amazon SNS service, but I could not find any information in my documentation, if possible, and if so, what exactly needs to be done to get it working? What I found in their documentation is that you can connect the trigger of the lambda function to the SNS topic, which means that after the notification is pressed, the function is called, but I'm interested in sending push notifications directly from the lambda -functions. I would appreciate it if someone shed light on this subject for me.

+6
source share
1 answer

Yes, you can call any of the API functions from Lambda. Perhaps if you post the code and the errors you get, you can get more specific help.

+3
source

All Articles