Can we publish a message to SNS topic using a lambda function written in Go language?

1.5k views Asked by At

I had a lambda function written in Golang. And I was trying to publish a message to SNS topic from lambda function before the lambda is executed . Is it possible to do so?

2

There are 2 answers

0
Arafat Nalkhande On BEST ANSWER

Yes, you can publish a message to SNS topic using a lambda function written in Go language.

You can use the AWS SDK for GO

0
Madhav Chaturvedi On

Although Arafat's answer is absolutely correct but if someone is really stuck here then for a detailed and step by step information on how to connect SNS with lambda function written in GoLang, can refer to : https://medium.com/@madhavchaturvedi/awesomeness-of-golang-aws-lambda-d6bd08131117