I have an application like this - sns -> lambda - so my lambda python function is invoked every time there was a new message published in SNS. The whole code works on AWS UI, but I want to write a test function, thus I need to publish message from SNS topic from my local machine that would trigger that lamba I will watch the log in cloudwatch.
I have searched a lot but could not find something that would help a beginner like me. I installed awscli, extension on VScode and insalled Docker. My local machine is a debian(10) pc. Did not find any option on VScode for SNS. Any help is much appreciated.
If you want to manually test the behavior of your setup, use AWS cli from terminal to publish test messages. See the examples on the bottom of the page: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sns/publish.html