Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EC2 Systems Manager MaintenanceWindowTask MaintenanceWindowRunCommandParameters

The MaintenanceWindowRunCommandParameters property type specifies the parameters for a RUN_COMMAND task type for an Amazon EC2 Systems Manager Maintenance Window task.

MaintenanceWindowRunCommandParameters is a property of the SSM MaintenanceWindowTask TaskInvocationParameters property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "TimeoutSeconds" : Integer, "Comment" : String, "OutputS3KeyPrefix" : String, "Parameters" : JSON object, "DocumentHashType" : String, "ServiceRoleArn" : String, "NotificationConfig" : NotificationConfig, "OutputS3BucketName" : String, "DocumentHash" : String }

Properties

TimeoutSeconds

If this time is reached and the command hasn't already started executing, it doesn't execute.

Required: No

Type: Integer

Update requires: No interruption

Comment

Information about the command or commands to execute.

Required: No

Type: String

Update requires: No interruption

OutputS3KeyPrefix

The Amazon S3 bucket subfolder.

Required: No

Type: String

Update requires: No interruption

Parameters

The parameters for the RUN_COMMAND task execution.

Required: No

Type: JSON object

Update requires: No interruption

DocumentHashType

The SHA-256 or SHA-1 hash type. SHA-1 hashes are deprecated.

Required: No

Type: String

Update requires: No interruption

ServiceRoleArn

The IAM service role that's used during task execution.

Required: No

Type: String

Update requires: No interruption

NotificationConfig

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

Required: No

Type: SSM MaintenanceWindowTask NotificationConfig

Update requires: No interruption

OutputS3BucketName

The name of the Amazon S3 bucket.

Required: No

Type: String

Update requires: No interruption

DocumentHash

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

Required: No

Type: String

Update requires: No interruption

On this page: