aws iam put-user-policy
Adds or updates an inline policy document that is embedded in the specified IAM user. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--policy-documentThe policy document.--policy-nameThe name of the policy document.--user-nameThe name of the user to associate the policy with.