IAM policy testing with the IAM policy simulator - AWS Identity and Access Management
Use the IAM policy simulator to test and troubleshoot IAM policies that are attached to users, IAM groups, roles, or resources.