Actions35
- Bucket Actions
- IAM Actions
- Object Actions
IAM → Attach User Policy
AI-generatedSummary
Attach a specified IAM policy to a designated IAM user by providing the user name and the policy's Amazon Resource Name (ARN).
Inputs
- User Name (required) — Name of the IAM user to attach the policy to.
- Policy ARN (required) — Amazon Resource Name (ARN) of the IAM policy to attach.
Output shape
a single JSON object indicating success or failure of the policy attachment operation
The output confirms whether the policy was successfully attached to the user; details on errors or confirmation are included in the response object.