Skip to content

Commit

Permalink
feat: 📝 add test event
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleduigou committed Feb 21, 2024
1 parent dadb403 commit 5679b28
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test_event.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"_comment" : "This test event can be used in the AWS Console to verify that the deployed lambda is working properly",
"Records": [
{
"messageId": "19dd0b57-b21e-4ac1-bd88-01bbb068cb78",
"receiptHandle": "MessageReceiptHandle",
"body": "{\"Date\": \"20/02/2024\", \"Description\": \"Brulerie Des Capuci Brest 28/02 Paiement Par Carte\", \"Comment\": \"Du bon café !\", \"Category\": \"Courses Alimentation\", \"Value\": 6.25 }",
"attributes": {
"ApproximateReceiveCount": "1",
"SentTimestamp": "1523232000000",
"SenderId": "123456789012",
"ApproximateFirstReceiveTimestamp": "1523232000001"
},
"messageAttributes": {},
"md5OfBody": "{{{md5_of_body}}}",
"eventSource": "aws:sqs",
"eventSourceARN": "arn:aws:sqs:us-east-1:123456789012:MyQueue",
"awsRegion": "us-east-1"
}
]
}

0 comments on commit 5679b28

Please sign in to comment.