AWS systems-manager documentation change
Summary
Added PowerShell example for listing maintenance window tasks
Security assessment
The change adds operational examples for task listing without any security context or reference to security controls.
Diff
diff --git a/systems-manager/latest/userguide/example_ssm_DescribeMaintenanceWindowTasks_section.md b/systems-manager/latest/userguide/example_ssm_DescribeMaintenanceWindowTasks_section.md index f612d6a3c..51957d563 100644 --- a//systems-manager/latest/userguide/example_ssm_DescribeMaintenanceWindowTasks_section.md +++ b//systems-manager/latest/userguide/example_ssm_DescribeMaintenanceWindowTasks_section.md @@ -247,0 +248,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)_. + + + +