AWS Systems Manager MaintenanceWindowTask MaintenanceWindowRunCommandParameters
The MaintenanceWindowRunCommandParameters property type specifies the parameters
for a RUN_COMMAND task type for a Maintenance Window task in AWS Systems Manager.
MaintenanceWindowRunCommandParameters is a property of the TaskInvocationParameters
property type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "TimeoutSeconds" :Integer, "Comment" :String, "OutputS3KeyPrefix" :String, "Parameters" :JSON object, "DocumentHashType" :String, "ServiceRoleArn" :String, "NotificationConfig" : NotificationConfig, "OutputS3BucketName" :String, "DocumentHash" :String}
YAML
TimeoutSeconds:IntegerComment:StringOutputS3KeyPrefix:StringParameters:JSON objectDocumentHashType:StringServiceRoleArn:StringNotificationConfig: NotificationConfig OutputS3BucketName:StringDocumentHash: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_COMMANDtask 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: 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
