Name: eb-py-flask-signup-worker
Owner: Amazon Web Services - Labs
Owner: AWS Samples
Description: null
Created: 2013-11-25 18:53:51.0
Updated: 2017-12-18 14:54:48.0
Pushed: 2016-01-05 23:02:18.0
Homepage: null
Size: 7
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This Python sample application illustrates the worker role functionality of AWS Elastic Beanstalk. It is designed to process messages generated by the frontend sample app. Messages contain a customer's name and e-mail address, and the worker app uses SES to deliver an e-mail to the address in the message.
To test the worker app without the frontend, you can manually enqueue messages of the following format:
{
"name" : "Bender B. Rodriguez",
"email" : "bender@ilovebender.com"
}
The worker role must run in an IAM role with permissions to SES and SQS. An example policy is included in iam_policy.json.