Skip to content

Instantly share code, notes, and snippets.

@johnnaegle
Created July 6, 2016 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnnaegle/1203a7aa9a4b74abe3229d0efbbdf118 to your computer and use it in GitHub Desktop.
Save johnnaegle/1203a7aa9a4b74abe3229d0efbbdf118 to your computer and use it in GitHub Desktop.
{
"Records": [
{
"EventSource": "aws:sns",
"EventVersion": "1.0",
"EventSubscriptionArn": "arn:aws:sns:us-east-1:XXX",
"Sns": {
"Type": "Notification",
"MessageId": "XXX",
"TopicArn": "arn:aws:sns:us-east-1:XXX",
"Subject": "Auto Scaling: launch for group \"awesome-servers\"",
"Message": "{\"Progress\":50,\"AccountId\":\"XXX\",\"Description\":\"Launching a new EC2 instance: i-b1234567\",\"RequestId\":\"431d2b18-529c-4d25-959a-7d4e27a0ba9a\",\"EndTime\":\"2016-07-05T19:44:17.908Z\",\"AutoScalingGroupARN\":\"arn:aws:autoscaling:us-east-1:XXX:autoScalingGroup:a9bd6096-bbdc-49dc-af99-cef9fc02e58c:autoScalingGroupName/awesome-servers\",\"ActivityId\":\"fbf36723-bb18-45de-ad6a-538ba6ff0e49\",\"StartTime\":\"2016-07-05T19:43:04.084Z\",\"Service\":\"AWS Auto Scaling\",\"Time\":\"2016-07-05T19:44:17.908Z\",\"EC2InstanceId\":\"i-b1234567\",\"StatusCode\":\"InProgress\",\"StatusMessage\":\"\",\"Details\":{\"Subnet ID\":\"subnet-a1b2c3d4\",\"Availability Zone\":\"us-east-1a\"},\"AutoScalingGroupName\":\"awesome-servers\",\"Cause\":\"At 2016-07-05T19:42:46Z a user request update of AutoScalingGroup constraints to min: 1, max: 6, desired: 2 changing the desired capacity from 1 to 2. At 2016-07-05T19:43:00Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 1 to 2.\",\"Event\":\"autoscaling:EC2_INSTANCE_LAUNCH\"}",
"Timestamp": "2016-07-05T19:44:17.969Z",
"SignatureVersion": "1",
"MessageAttributes": {}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment