Skip to content

Instantly share code, notes, and snippets.

@terranware
Created May 12, 2015 20:19
Show Gist options
  • Save terranware/9048bb492d6d9f418ee1 to your computer and use it in GitHub Desktop.
Save terranware/9048bb492d6d9f418ee1 to your computer and use it in GitHub Desktop.
Sample Elastic Beanstalk SNS Event
{
"Records": [
{
"EventSource": "aws:sns",
"EventVersion": "1.0",
"EventSubscriptionArn": "arn:aws:sns:us-east-1...ElasticBeanstalkNotifications-Environment-foo-app...",
"Sns": {
"Type": "Notification",
"MessageId": "111",
"TopicArn": "arn:aws:sns:us-east-1...ElasticBeanstalkNotifications-Environment-foo-app",
"Subject": "AWS Elastic Beanstalk Notification - New application version was deployed to running EC2 instances",
"Message": "Timestamp: Thu May 07 23:38:22 UTC 2015\nMessage: Lambda Function Test: New application version was deployed to running EC2 instances.\n\nEnvironment: foo-app\nApplication: FooApp\n\nEnvironment URL: http://foo.com\nRequestId: 222\nNotificationProcessId: 333",
"Timestamp": "2015-05-07T23:39:18.628Z",
"SignatureVersion": "1",
"Signature": "hello-sig",
"SigningCertUrl": "https://sns.us-east-1.amazonaws.com/...",
"UnsubscribeUrl": "https://sns.us-east-1.amazonaws.com/...",
"MessageAttributes": {}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment