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?
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