aws iam put-role-permissions-boundary
Adds or updates the policy that is specified as the IAM role's permissions boundary. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--permissions-boundaryThe ARN of the managed policy that is used to set the permissions boundary for the role.--role-nameThe name (friendly name, not ARN) of the IAM role for which you want to set the permissions boundary.