AWS IAM documentation change
Summary
Added PowerShell V5 example for ListInstanceProfiles command with sample output
Security assessment
The change adds a usage example for listing instance profiles but does not address security vulnerabilities or document security-specific features. Instance profiles are standard IAM components.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_ListInstanceProfiles_section.md b/IAM/latest/UserGuide/iam_example_iam_ListInstanceProfiles_section.md index f2cf2e803..ecf388e64 100644 --- a//IAM/latest/UserGuide/iam_example_iam_ListInstanceProfiles_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_ListInstanceProfiles_section.md @@ -120,0 +121,24 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example returns a collection of the instance profiles defined in the current AWS account.** + + + Get-IAMInstanceProfileList + + +**Output:** + + + Arn : arn:aws:iam::123456789012:instance-profile/ec2instancerole + CreateDate : 2/17/2015 2:49:04 PM + InstanceProfileId : HH36PTZQJUR32EXAMPLE1 + InstanceProfileName : ec2instancerole + Path : / + Roles : {ec2instancerole} + + * For API details, see [ListInstanceProfiles](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +