serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
35 lines (34 loc) • 1.13 kB
JSON
{
"context": {},
"event": {
"Records": [
{
"EventVersion": "1.0",
"EventSubscriptionArn": "arn:aws:sns:ap-northeast-1:EXAMPLESNSID:sns-lambda:EXAMPLESNSLAMBDAID",
"EventSource": "aws:sns",
"Sns": {
"SignatureVersion": "1",
"Timestamp": "2020-07-19T12:45:07.000Z",
"Signature": "EXAMPLESIG",
"SigningCertUrl": "https://sns.example.com/SimpleNotificationService-ID.pem",
"MessageId": "EXAMPLEMESSAGEID",
"Message": "Hello!",
"MessageAttributes": {
"Test": {
"Type": "String",
"Value": "TestString"
},
"TestBinary": {
"Type": "Binary",
"Value": "TestBinary"
}
},
"Type": "Notification",
"UnsubscribeUrl": "https://sns.ap-northeast-1.example.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:EXAMPLESNSID:test-lambda:EXAMPLELAMBDAID",
"TopicArn": "arn:aws:sns:ap-northeast-1:EXAMPLETOPICID:sns-lambda",
"Subject": "TestInvoke"
}
}
]
}
}