Needs Roles Information

I have a lambda function deployed with an execution permissions role with action as IAM:PASSROLE and RESOURCE as “*”. How can I know what are all roles are passed by the lambda to which resource during its execution time.