aws iam list-role-policies
Lists the names of the inline policies that are embedded in the specified IAM role. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--markerUse this parameter only when paginating results and only after you receive a response indicating that the results are truncated.--max-itemsUse this only when paginating results to indicate the maximum number of items you want in the response.--role-nameThe name of the role to list policies for.