We have introduced two new capabilities in the AWS Identity and Access Management (IAM) console that makes it easier for you to author your IAM policies. To help you find and correct errors in your policies, we added a new Validate Policy button to the IAM console. This button returns a detailed JSON syntax error message that refers to the line number where the error occurs. In addition, the console now gives you the option to use JSON formatting for your IAM policies to make them easier to read and understand.