Simple service that listens to a sqs queue and bypass the payload to a http server, sending a POST request with the SQS’s payload and a Bearer Token.
The main script read a .env file with the aws credentials and http endpoint.
The main loop is like this:
To post to the http server we can use requests.
With this simple script you can set up a web server that process all incoming SQS messages. Source code in my github.