class Aws::IAM::Types::AttachUserPolicyRequest
@note When making an API call, you may pass AttachUserPolicyRequest
data as a hash: { user_name: "userNameType", # required policy_arn: "arnType", # required }
@!attribute [rw] user_name
The name (friendly name, not ARN) of the IAM user to attach the policy to. This parameter allows (through its [regex pattern][1]) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,.@- [1]: http://wikipedia.org/wiki/regex @return [String]
@!attribute [rw] policy_arn
The Amazon Resource Name (ARN) of the IAM policy you want to attach. For more information about ARNs, see [Amazon Resource Names (ARNs)][1] in the *Amazon Web Services General Reference*. [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicyRequest AWS API Documentation
Constants
- SENSITIVE