AWS IAM documentation change
Summary
Added PowerShell V5 example for Get-IAMInstanceProfile command
Security assessment
Demonstrates instance profile retrieval without any security-specific context or vulnerability mitigation
Diff
diff --git a/IAM/latest/UserGuide/iam_example_iam_GetInstanceProfile_section.md b/IAM/latest/UserGuide/iam_example_iam_GetInstanceProfile_section.md index 17fa6868c..c386a6e74 100644 --- a//IAM/latest/UserGuide/iam_example_iam_GetInstanceProfile_section.md +++ b//IAM/latest/UserGuide/iam_example_iam_GetInstanceProfile_section.md @@ -80,0 +81,24 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example returns details of the instance profile named`ec2instancerole` that is defined in the current AWS account.** + + + Get-IAMInstanceProfile -InstanceProfileName ec2instancerole + + +**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 [GetInstanceProfile](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +