github.com/Foodji/aws-lambda-go@v1.20.2/events/testdata/sns-event.json (about)

     1  {
     2    "Records": [
     3      {
     4        "EventVersion": "1.0", 
     5        "EventSubscriptionArn": "arn:aws:sns:EXAMPLE", 
     6        "EventSource": "aws:sns", 
     7        "Sns": {
     8          "Signature": "EXAMPLE", 
     9          "MessageId": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", 
    10          "Type": "Notification", 
    11          "TopicArn": "arn:aws:sns:EXAMPLE", 
    12          "MessageAttributes": {
    13            "Test": {
    14              "Type": "String", 
    15              "Value": "TestString"
    16            }, 
    17            "TestBinary": {
    18              "Type": "Binary", 
    19              "Value": "TestBinary"
    20            }
    21          }, 
    22          "SignatureVersion": "1", 
    23          "Timestamp": "2015-06-03T17:43:27.123Z", 
    24          "SigningCertUrl": "EXAMPLE", 
    25          "Message": "Hello from SNS!", 
    26          "UnsubscribeUrl": "EXAMPLE", 
    27          "Subject": "TestInvoke"
    28        }
    29      }
    30    ]
    31  }