aws iam create-role
Creates a new role for your Amazon Web Services account. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--assume-role-policy-documentThe trust relationship policy document that grants an entity permission to assume the role.--descriptionA description of the role.--max-session-durationThe maximum session duration (in seconds) that you want to set for the specified role.--pathThe path to the role.--permissions-boundaryThe ARN of the managed policy that is used to set the permissions boundary for the role.--role-nameThe name of the role to create.--tagsA list of tags that you want to attach to the new role.