AWS code-library documentation change
Summary
Added PowerShell V5 examples for renaming IAM groups and changing paths
Security assessment
Organizational changes with no direct security implications
Diff
diff --git a/code-library/latest/ug/iam_example_iam_UpdateGroup_section.md b/code-library/latest/ug/iam_example_iam_UpdateGroup_section.md index 861fd47e9..afea5290f 100644 --- a//code-library/latest/ug/iam_example_iam_UpdateGroup_section.md +++ b//code-library/latest/ug/iam_example_iam_UpdateGroup_section.md @@ -58,0 +59,20 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example renames the IAM group`Testers` to `AppTesters`.** + + + Update-IAMGroup -GroupName Testers -NewGroupName AppTesters + + +**Example 2: This example changes the path of the IAM group`AppTesters` to `/Org1/Org2/`. This changes the ARN for the group to `arn:aws:iam::123456789012:group/Org1/Org2/AppTesters`.** + + + Update-IAMGroup -GroupName AppTesters -NewPath /Org1/Org2/ + + + * For API details, see [UpdateGroup](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +