AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
Container for the parameters to the SendCommand operation. Executes commands on one or more remote instances.

Inheritance Hierarchy


Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class SendCommandRequest : AmazonSimpleSystemsManagementRequest

The SendCommandRequest type exposes the following members


Public Method SendCommandRequest() Empty constructor used to set properties independently even when a simple constructor is available
Public Method SendCommandRequest(string, List<String>)


Public Property 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.
Public Property DocumentName System.String Gets and sets the property DocumentName. Required. The name of the SSM document to execute. This can be an SSM public document or a custom document.
Public Property InstanceIds System.Collections.Generic.List<System.String> Gets and sets the property InstanceIds. Required. The instance IDs where the command should execute.
Public Property OutputS3BucketName System.String Gets and sets the property OutputS3BucketName. The name of the S3 bucket where command execution responses should be stored.
Public Property OutputS3KeyPrefix System.String Gets and sets the property OutputS3KeyPrefix. The directory structure within the S3 bucket where the responses should be stored.
Public Property Parameters System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>> Gets and sets the property Parameters. The required and optional parameters specified in the SSM document being executed.
Public Property TimeoutSeconds System.Int32 Gets and sets the property TimeoutSeconds. If this time is reached and the command has not already started executing, it will not execute.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5