AWS code-library documentation change
Summary
Added PowerShell V5 example for ListGroupPolicies command with sample output and API reference
Security assessment
Shows inline policy listing without security context or vulnerability remediation content.
Diff
diff --git a/code-library/latest/ug/iam_example_iam_ListGroupPolicies_section.md b/code-library/latest/ug/iam_example_iam_ListGroupPolicies_section.md index 68996e999..656873b5f 100644 --- a//code-library/latest/ug/iam_example_iam_ListGroupPolicies_section.md +++ b//code-library/latest/ug/iam_example_iam_ListGroupPolicies_section.md @@ -65,0 +66,20 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example returns a list of the inline policies that are embedded in the group`Testers`. To get the managed policies that are attached to the group, use the command `Get-IAMAttachedGroupPolicyList`.** + + + Get-IAMGroupPolicyList -GroupName Testers + + +**Output:** + + + Deny-Assume-S3-Role-In-Production + PowerUserAccess-Testers + + * For API details, see [ListGroupPolicies](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +