Menu
AWS Systems Manager
API Reference (API Version 2014-11-06)

MaintenanceWindowRunCommandParameters

The parameters for a RUN_COMMAND task type.

Contents

Comment

Information about the command(s) to execute.

Type: String

Length Constraints: Maximum length of 100.

Required: No

DocumentHash

The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.

Type: String

Length Constraints: Maximum length of 256.

Required: No

DocumentHashType

SHA-256 or SHA-1. SHA-1 hashes have been deprecated.

Type: String

Valid Values: Sha256 | Sha1

Required: No

NotificationConfig

Configurations for sending notifications about command status changes on a per-instance basis.

Type: NotificationConfig object

Required: No

OutputS3BucketName

The name of the Amazon S3 bucket.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 63.

Required: No

OutputS3KeyPrefix

The Amazon S3 bucket subfolder.

Type: String

Length Constraints: Maximum length of 500.

Required: No

Parameters

The parameters for the RUN_COMMAND task execution.

Type: String to array of strings map

Required: No

ServiceRoleArn

The IAM service role to assume during task execution.

Type: String

Required: No

TimeoutSeconds

If this time is reached and the command has not already started executing, it doesn not execute.

Type: Integer

Valid Range: Minimum value of 30. Maximum value of 2592000.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: