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.
source share