Created
July 10, 2018 17:19
-
-
Save ranrib/c79891dec86b18551a1a227de4552872 to your computer and use it in GitHub Desktop.
AWS SQS event trigger to Lambda function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Records": [ | |
{ | |
"messageId": "74140753-924c-4084-8a74-768b6a33e982", | |
"receiptHandle": "AQEBRb3GKquMc9HvQSh9GDZ++ETxyjxN45wtOB449zvUlUlaBmoxyhXhr5QWyVNoUyvytHvz5GFfeZq/Af4SpBYe6j85T0rYi/TA+690UXJuv3Vc/U9ql5NLHdLSmvqvsQDVXi7TWzcX0ER+", | |
"body": "test", | |
"attributes": { | |
"ApproximateReceiveCount": "1", | |
"SentTimestamp": "1531136255184", | |
"SenderId": "AROAJ3ZGMT746QFJO6ZL4:sqs-lambda-tutorial-production-start-lambda", | |
"ApproximateFirstReceiveTimestamp": "1531136255219" | |
}, | |
"messageAttributes": { | |
}, | |
"md5OfBody": "098f6bcd4621d373cade4e832627b4f6", | |
"eventSource": "aws:sqs", | |
"eventSourceARN": "arn:aws:sqs:<region>:<account>:TutorialSQS", | |
"awsRegion": "<region>" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment