Skip to content

Instantly share code, notes, and snippets.

@mikegrima
Created August 20, 2019 18:55
Show Gist options
  • Save mikegrima/e4e754ccf22b1aa45ed9a6e18a063ee3 to your computer and use it in GitHub Desktop.
Save mikegrima/e4e754ccf22b1aa45ed9a6e18a063ee3 to your computer and use it in GitHub Desktop.
SNS Lambda Sample Invocation Event
{
"Records": [
{
"EventSource": "aws:sns",
"EventVersion": "1.0",
"EventSubscriptionArn": "arn:aws:sns:REGION:ACCOUNT:TOPICNAME:SOME-ID",
"Sns": {
"Type": "Notification",
"MessageId": "SOME-ID",
"TopicArn": "arn:aws:sns:REGION:ACCOUNT:TOPICNAME",
"Subject": null,
"Message": "{\"some\": \"message\", \"someOther\": \"value\"}",
"Timestamp": "2019-08-20T18:47:13.322Z",
"SignatureVersion": "1",
"Signature": "SOME-SIGNATURE",
"SigningCertUrl": "URL-TO-SIGNING-CERT",
"UnsubscribeUrl": "UNSUBSCRIBE-URL",
"MessageAttributes": {}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment