AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example demonstrating retrieval of IAM group details and associated users

Security assessment

The change adds a usage example for an existing IAM API operation. While IAM is security-related, this is a routine documentation update showing normal feature usage without addressing vulnerabilities or security controls.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_GetGroup_section.md b/code-library/latest/ug/iam_example_iam_GetGroup_section.md
index a022b7faa..33becc52d 100644
--- a//code-library/latest/ug/iam_example_iam_GetGroup_section.md
+++ b//code-library/latest/ug/iam_example_iam_GetGroup_section.md
@@ -105,0 +106,56 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example returns details about the IAM group`Testers`, including a collection of all the IAM users that belong to the group. **
+    
+    
+    $results = Get-IAMGroup -GroupName "Testers"
+    $results
+    
+
+**Output:**
+    
+    
+    Group                                     IsTruncated           Marker                Users
+    -----                                     -----------           ------                -----
+    Amazon.IdentityManagement.Model.Group     False                                       {Theresa, David}
+    
+    
+    $results.Group
+    
+
+**Output:**
+    
+    
+    Arn        : arn:aws:iam::123456789012:group/Testers
+    CreateDate : 12/10/2014 3:39:11 PM
+    GroupId    : 3RHNZZGQJ7QHMAEXAMPLE1
+    GroupName  : Testers
+    Path       : /
+    
+    
+    $results.Users
+    
+
+**Output:**
+    
+    
+    Arn              : arn:aws:iam::123456789012:user/Theresa
+    CreateDate       : 12/10/2014 3:39:27 PM
+    PasswordLastUsed : 1/1/0001 12:00:00 AM
+    Path             : /
+    UserId           : 4OSVDDJJTF4XEEXAMPLE2
+    UserName         : Theresa
+    
+    Arn              : arn:aws:iam::123456789012:user/David
+    CreateDate       : 12/10/2014 3:39:27 PM
+    PasswordLastUsed : 3/19/2015 8:44:04 AM
+    Path             : /
+    UserId           : Y4FKWQCXTA52QEXAMPLE3
+    UserName         : David
+
+  * For API details, see [GetGroup](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+