Re:A Simple Pattern for Jobs and Crons on AWS
by Ysx on Saturday April 01, 2017 @04:14PM
(#14013930)
> [...] I can't find a Python library for validating the signature. Not even AWS's flagship API client (boto3) has the functionality.
I wrote validatesns [1] for this, give it a try!
(Not sure why there's an official PHP validator but not Python...)
I've also had success with an HTTP subscription in SNS for simple async jobs. Having your tasks be just another HTTP endpoint is really convenient. It's not actually a task queue, but it's often a good-enough substitute.
One frustration I've had with it is that Amazon signs SNS messages, but I can't find a Python library for validating the signature. Not even AWS's flagship API client (boto3) has the functionality.