Skip to content

Instantly share code, notes, and snippets.

@doppiomacchiatto
Forked from yyolk/sample_sns_event.json
Created August 3, 2017 21:04
Show Gist options
  • Save doppiomacchiatto/d6a1fa37b87dc46b80ca32e83a0087ae to your computer and use it in GitHub Desktop.
Save doppiomacchiatto/d6a1fa37b87dc46b80ca32e83a0087ae 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