Created
March 17, 2019 19:15
-
-
Save 100daysofdevops/361dcde762b736714d1f11a442a04764 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ aws ssm send-command --document-name "AWS-RunShellScript" --parameters commands=["ls -l"] --targets "Key=instanceids,Values=i-0219d24ebd3fc7b14" | |
| { | |
| "Command": { | |
| "MaxErrors": "0", | |
| "Parameters": { | |
| "commands": [ | |
| "ls -l" | |
| ] | |
| }, | |
| "DocumentName": "AWS-RunShellScript", | |
| "OutputS3BucketName": "", | |
| "OutputS3KeyPrefix": "", | |
| "StatusDetails": "Pending", | |
| "RequestedDateTime": 1552850042.208, | |
| "Status": "Pending", | |
| "TargetCount": 0, | |
| "NotificationConfig": { | |
| "NotificationArn": "", | |
| "NotificationEvents": [], | |
| "NotificationType": "" | |
| }, | |
| "InstanceIds": [], | |
| "ErrorCount": 0, | |
| "MaxConcurrency": "50", | |
| "ServiceRole": "", | |
| "CloudWatchOutputConfig": { | |
| "CloudWatchLogGroupName": "", | |
| "CloudWatchOutputEnabled": false | |
| }, | |
| "DocumentVersion": "", | |
| "CompletedCount": 0, | |
| "Comment": "", | |
| "ExpiresAfter": 1552857242.208, | |
| "DeliveryTimedOutCount": 0, | |
| "CommandId": "e4d54b52-5138-4436-a53d-f9ed4dd03cf6", | |
| "Targets": [ | |
| { | |
| "Values": [ | |
| "i-0219d24ebd3fc7b14" | |
| ], | |
| "Key": "instanceids" | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment