aws iam get-policy
Retrieves information about the specified managed policy, including the policy's default version and the total number of IAM users, groups, and roles to which the policy is attached. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--policy-arnThe Amazon Resource Name (ARN) of the managed policy that you want information about.