AttachUserPolicy

GET /?Action=AttachUserPolicy
Description

Attaches a managed policy to a specific user.

Body parameter

Required: false
Name: AttachUserPolicyRequest

Name Description Required Schema Default Example

PolicyArn

The unique resource identifier for the policy (between 20 and 2048 characters).

true

string

UserName

The friendly name of the user you want to attach the policy to (between 1 and 64 characters).

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

AttachUserPolicyResponse

Response 200

Response 200

Name Description Required Schema Default Example

ResponseMetadata

Information about the response.

false

ResponseMetadata