AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2025-06-25 · Documentation low

File: IAM/latest/UserGuide/iam_example_iam_CreateServiceLinkedRole_section.md

Summary

Added PowerShell V5 example for service-linked role creation

Security assessment

Shows implementation of service-linked roles which follow security best practices but doesn't address a specific security issue

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_CreateServiceLinkedRole_section.md b/IAM/latest/UserGuide/iam_example_iam_CreateServiceLinkedRole_section.md
index 1ce26ceee..1a5510e31 100644
--- a//IAM/latest/UserGuide/iam_example_iam_CreateServiceLinkedRole_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_CreateServiceLinkedRole_section.md
@@ -262,0 +263,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)_. 
+
+
+
+