Skip to content

Instantly share code, notes, and snippets.

@yyolk
Created October 30, 2015 20:52
Show Gist options
  • Save yyolk/cd22e8a3faf7fd75997b to your computer and use it in GitHub Desktop.
Save yyolk/cd22e8a3faf7fd75997b to your computer and use it in GitHub Desktop.
AWS Lambda SNS Sample Event
{
"Records": [
{
"EventVersion": "1.0",
"EventSubscriptionArn": "arn:aws:sns:EXAMPLE",
"EventSource": "aws:sns",
"Sns": {
"SignatureVersion": "1",
"Timestamp": "1970-01-01T00:00:00.000Z",
"Signature": "EXAMPLE",
"SigningCertUrl": "EXAMPLE",
"MessageId": "95df01b4-ee98-5cb9-9903-4c221d41eb5e",
"Message": "Hello from SNS!",
"MessageAttributes": {
"Test": {
"Type": "String",
"Value": "TestString"
},
"TestBinary": {
"Type": "Binary",
"Value": "TestBinary"
}
},
"Type": "Notification",
"UnsubscribeUrl": "EXAMPLE",
"TopicArn": "arn:aws:sns:EXAMPLE",
"Subject": "TestInvoke"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment