Subscribe to an SNS topic and / or SQS queue in golang?

1596 views amazon-web-services

I know how to do this in java, but I just can't figure it out in Go at all.

All I want to do, is have a way to detect that an item got created in an S3 bucket, then have that trigger an SNS topic, which then notifies me of the file location in S3.

Has anybody got a working example of how I can do the go side of this for subscribing to the SNS topic or the SNS queue if I need one? Because all I seem to be able to find is Java and Node. I can find publish examples for go, but they are of little use to my use case.

answered question

S3 can publish events to SNS when an object gets created with just configuration and no coding. Where is your problem?

Have an answer?


Please login first before posting an answer.