AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for creating a service-linked role for autoscaling

Security assessment

Routine documentation update showing service-linked role creation. No security vulnerability addressed or security feature highlighted beyond standard IAM functionality.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_CreateServiceLinkedRole_section.md b/code-library/latest/ug/iam_example_iam_CreateServiceLinkedRole_section.md
index a056e1cbb..b331a6775 100644
--- a//code-library/latest/ug/iam_example_iam_CreateServiceLinkedRole_section.md
+++ b//code-library/latest/ug/iam_example_iam_CreateServiceLinkedRole_section.md
@@ -264,0 +265,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example creates a servicelinked role for autoscaling service.**
+    
+    
+    New-IAMServiceLinkedRole -AWSServiceName autoscaling.amazonaws.com -CustomSuffix RoleNameEndsWithThis -Description "My service-linked role to support autoscaling"
+    
+
+  * For API details, see [CreateServiceLinkedRole](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+