### SQS Message An example of the message the Salt Master will receive from the SQS queue: ```json salt/engine/sqs/my_sqs_queue { "_stamp": "2016-10-11T03:44:57.968671", "message": "..." } ``` ### SNS Message The "message" attribute of the SQS message needs to be parsed as JSON and will result in: ```json { "Message": "...", "MessageId": "xxxx...xxxx", "SignatureVersion": "1", "SigningCertURL": "https://sns.us-east-1.amazonaws.com/SimpleNotificationService...", "Timestamp": "2016-10-11T01:32:41.674Z", "UnsubscribeURL": "https://sns.us-east-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:us-east-1:xxxxxxxxxxxx:my_sns_topic:xxxx...xxxx" } ``` And in turn the SNS Message attribute also needs to be parsed as JSON and will have: ```json { "AccountId": "xxxxxxxxxxxx", "ActivityId": "xxxx...xxxx", "AutoScalingGroupARN": "arn:aws:autoscaling:us-east-1:xxxxxxxxxxxx:autoScalingGroup:xxxx...xxxx:autoScalingGroupName/my_auto_group", "AutoScalingGroupName": "my_auto_group", "Cause": "At 2016-10-11T01:29:33Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.", "Description": "Launching a new EC2 instance: i-xxxxxxxx", "Details": { "Availability Zone": "us-east-1a", "Subnet ID": "subnet-xxxxxxxx" }, "EC2InstanceId": "i-xxxxxxxx", "EndTime": "2016-10-11T01:32:41.620Z", "Event": "autoscaling:EC2_INSTANCE_LAUNCH", "Progress": 50, "RequestId": "xxxx...xxxx", "Service": "AWS Auto Scaling", "StartTime": "2016-10-11T01:29:34.649Z", "StatusCode": "InProgress", "StatusMessage": "", "Time": "2016-10-11T01:32:41.620Z" } ```