Innablr / revolver

AWS Powercycle Facility
MIT License
2 stars 2 forks source link

Implement SNS output writer, based on SQS code #345

Closed lyricnz closed 2 weeks ago

lyricnz commented 3 weeks ago

Tested (with manual payload) and an email-json subscriber to the SNS topic

{
  "Type" : "Notification",
  "MessageId" : "3d66c60c-d5db-5943-8883-98d11d95ae91",
  "TopicArn" : "arn:aws:sns:ap-southeast-2:586172598677:cloudsnooze-infradev-audit-topic",
  "Message" : "{\"one\":1,\"two\":2}",
  "Timestamp" : "2024-06-08T02:46:38.835Z",
  "SignatureVersion" : "1",
  "Signature" : "lC5...==",
  "SigningCertURL" : "https://aus01.safelinks.protection...",
  "UnsubscribeURL" : "https://aus01.safelinks.protection....",
  "MessageAttributes" : {
    "compression" : {"Type":"String","Value":"none"},
    "encoding" : {"Type":"String","Value":"none"}
  }
}