Last update:2026-03-25 15:11:38
Policy structure includes: version number and authorization statement (Statement) list.
Each authorization statement includes: Effect (authorization effect), Action (operations list), Resource (resource list).
Before using the Policy syntax, you should first understand the Policy characters and their usage rules.
Explanation:Among all elements that support multiple values, using single value expression is also effective, and both expressions have the same effect. For example: "Action": \[\] and "Action":
Version: The Current supported policy version is 1.
Authorization statement: A Policy can have multiple authorization statements.
Explanation: In an authorization statement, both Action and Resource support multiple values.
Explanation: A condition block can support multiple types of conditional operations and logical combinations of multiple conditions.
Deny priority principle: A user can be granted multiple permission Policy. When these permission Policy include both Allow and Deny, the Deny priority principle is Follow.
Element value:
Explanation: For example, ecs:Describe* represents all actions of ecs that start with Describe.
IAM only supports JSON format. When creating or updating a permissions Policy, IAM first checks the JSON format for correctness.