Skip to contents

Retrieves the specified inline policy document that is embedded in the specified IAM user.

See https://www.paws-r-sdk.com/docs/iam_get_user_policy/ for full documentation.

Usage

iam_get_user_policy(UserName, PolicyName)

Arguments

UserName

[required] The name of the user who the policy is associated with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

PolicyName

[required] The name of the policy document to get.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-