AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Describes a command request.
Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z
public class Command
The Command type exposes the following members
Name | Description | |
---|---|---|
![]() |
Command() |
Name | Type | Description | |
---|---|---|---|
![]() |
AlarmConfiguration | Amazon.SimpleSystemsManagement.Model.AlarmConfiguration |
Gets and sets the property AlarmConfiguration. The details for the CloudWatch alarm applied to your command. |
![]() |
CloudWatchOutputConfig | Amazon.SimpleSystemsManagement.Model.CloudWatchOutputConfig |
Gets and sets the property CloudWatchOutputConfig. Amazon CloudWatch Logs information where you want Amazon Web Services Systems Manager to send the command output. |
![]() |
CommandId | System.String |
Gets and sets the property CommandId. A unique identifier for this command. |
![]() |
Comment | System.String |
Gets and sets the property Comment. User-specified information about the command, such as a brief description of what the command should do. |
![]() |
CompletedCount | System.Int32 |
Gets and sets the property CompletedCount. The number of targets for which the command invocation reached a terminal state. Terminal states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, Cancelled, Terminated, or Undeliverable. |
![]() |
DeliveryTimedOutCount | System.Int32 |
Gets and sets the property DeliveryTimedOutCount. The number of targets for which the status is Delivery Timed Out. |
![]() |
DocumentName | System.String |
Gets and sets the property DocumentName. The name of the document requested for execution. |
![]() |
DocumentVersion | System.String |
Gets and sets the property DocumentVersion. The Systems Manager document (SSM document) version. |
![]() |
ErrorCount | System.Int32 |
Gets and sets the property ErrorCount. The number of targets for which the status is Failed or Execution Timed Out. |
![]() |
ExpiresAfter | System.DateTime |
Gets and sets the property ExpiresAfter.
If a command expires, it changes status to |
![]() |
InstanceIds | System.Collections.Generic.List<System.String> |
Gets and sets the property InstanceIds. The managed node IDs against which this command was requested. |
![]() |
MaxConcurrency | System.String |
Gets and sets the property MaxConcurrency.
The maximum number of managed nodes that are allowed to run the command at the same
time. You can specify a number of managed nodes, such as 10, or a percentage of nodes,
such as 10%. The default value is 50. For more information about how to use |
![]() |
MaxErrors | System.String |
Gets and sets the property MaxErrors.
The maximum number of errors allowed before the system stops sending the command to
additional targets. You can specify a number of errors, such as 10, or a percentage
or errors, such as 10%. The default value is |
![]() |
NotificationConfig | Amazon.SimpleSystemsManagement.Model.NotificationConfig |
Gets and sets the property NotificationConfig. Configurations for sending notifications about command status changes. |
![]() |
OutputS3BucketName | System.String |
Gets and sets the property OutputS3BucketName. The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command. |
![]() |
OutputS3KeyPrefix | System.String |
Gets and sets the property OutputS3KeyPrefix. The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command. |
![]() |
OutputS3Region | System.String |
Gets and sets the property OutputS3Region. (Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager automatically determines the Amazon Web Services Region of the S3 bucket. |
![]() |
Parameters | System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>> |
Gets and sets the property Parameters. The parameter values to be inserted in the document when running the command. |
![]() |
RequestedDateTime | System.DateTime |
Gets and sets the property RequestedDateTime. The date and time the command was requested. |
![]() |
ServiceRole | System.String |
Gets and sets the property ServiceRole. The Identity and Access Management (IAM) service role that Run Command, a tool in Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes. |
![]() |
Status | Amazon.SimpleSystemsManagement.CommandStatus |
Gets and sets the property Status. The status of the command. |
![]() |
StatusDetails | System.String |
Gets and sets the property StatusDetails.
A detailed status of the command execution.
|
![]() |
TargetCount | System.Int32 |
Gets and sets the property TargetCount. The number of targets for the command. |
![]() |
Targets | System.Collections.Generic.List<Amazon.SimpleSystemsManagement.Model.Target> |
Gets and sets the property Targets. An array of search criteria that targets managed nodes using a Key,Value combination that you specify. Targets is required if you don't provide one or more managed node IDs in the call. |
![]() |
TimeoutSeconds | System.Int32 |
Gets and sets the property TimeoutSeconds.
The |
![]() |
TriggeredAlarms | System.Collections.Generic.List<Amazon.SimpleSystemsManagement.Model.AlarmStateInformation> |
Gets and sets the property TriggeredAlarms. The CloudWatch alarm that was invoked by the command. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5