AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for Start-SSMAutomationExecution with AutomationAssumeRole and InstanceIamRole parameters

Security assessment

The change adds usage examples demonstrating role assumption parameters but does not address a specific security vulnerability or introduce new security controls. AutomationAssumeRole and InstanceIamRole are standard IAM configuration parameters.

Diff

diff --git a/code-library/latest/ug/ssm_example_ssm_StartAutomationExecution_section.md b/code-library/latest/ug/ssm_example_ssm_StartAutomationExecution_section.md
index d9d0562c2..b856783ef 100644
--- a//code-library/latest/ug/ssm_example_ssm_StartAutomationExecution_section.md
+++ b//code-library/latest/ug/ssm_example_ssm_StartAutomationExecution_section.md
@@ -80,0 +81,19 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example runs a document specifying an Automation role, an AMI source ID, and an Amazon EC2 instance role.**
+    
+    
+    Start-SSMAutomationExecution -DocumentName AWS-UpdateLinuxAmi -Parameter @{'AutomationAssumeRole'='arn:aws:iam::123456789012:role/SSMAutomationRole';'SourceAmiId'='ami-f173cc91';'InstanceIamRole'='EC2InstanceRole'}
+    
+
+**Output:**
+    
+    
+    3a532a4f-0382-11e7-9df7-6f11185f6dd1
+
+  * For API details, see [StartAutomationExecution](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+