AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Get-IAMAttachedUserPolicyList-UserName <String>-PathPrefix <String>-Marker <String>-MaxItem <Int32>-Select <String>-NoAutoIteration <SwitchParameter>-ClientConfig <AmazonIdentityManagementServiceConfig>
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | NextToken |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | MaxItems |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Required? | True |
| Position? | 1 |
| Accept pipeline input? | True (ByValue, ByPropertyName) |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | AK |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByValue, ByPropertyName) |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByValue, ByPropertyName) |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | AWSProfilesLocation, ProfilesLocation |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | StoredCredentials, AWSProfileName |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | RegionToCall |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | SK, SecretAccessKey |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | ST |
Get-IAMAttachedUserPolicyList -UserName "Bob"
PolicyArn PolicyName
--------- ----------
arn:aws:iam::aws:policy/TesterPolicy TesterPolicyThis command returns the names and ARNs of the managed policies for the IAM user namedBobin the AWS account. To see the list of inline policies that are embedded in the IAM user, use theGet-IAMUserPolicyListcommand.
AWS Tools for PowerShell: 2.x.y.z