AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/ssm_example_ssm_DescribeMaintenanceWindowTasks_section.md

Summary

Added PowerShell example for listing maintenance window tasks

Security assessment

Routine documentation update showing task listing functionality without any security context or features

Diff

diff --git a/code-library/latest/ug/ssm_example_ssm_DescribeMaintenanceWindowTasks_section.md b/code-library/latest/ug/ssm_example_ssm_DescribeMaintenanceWindowTasks_section.md
index 87e9eec68..8da404705 100644
--- a//code-library/latest/ug/ssm_example_ssm_DescribeMaintenanceWindowTasks_section.md
+++ b//code-library/latest/ug/ssm_example_ssm_DescribeMaintenanceWindowTasks_section.md
@@ -249,0 +250,29 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example lists all of the tasks for a maintenance window.**
+    
+    
+    Get-SSMMaintenanceWindowTaskList -WindowId "mw-06cf17cbefcb4bf4f"
+    
+
+**Output:**
+    
+    
+    LoggingInfo    :
+    MaxConcurrency : 1
+    MaxErrors      : 1
+    Priority       : 10
+    ServiceRoleArn : arn:aws:iam::123456789012:role/MaintenanceWindowsRole
+    Targets        : {InstanceIds}
+    TaskArn        : AWS-RunShellScript
+    TaskParameters : {[commands, Amazon.SimpleSystemsManagement.Model.MaintenanceWindowTaskParameterValueExpression]}
+    Type           : RUN_COMMAND
+    WindowId       : mw-06cf17cbefcb4bf4f
+    WindowTaskId   : a23e338d-ff30-4398-8aa3-09cd052ebf17
+
+  * For API details, see [DescribeMaintenanceWindowTasks](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+