Rule
A Rule Object represents a rule in a policy. It defines the conditions that must be met and the permissions that are applied on the entities that meet said conditions.
It is an object with the following properties:
|
Name |
Type |
Description |
|---|---|---|
|
|
A link to the entity definition for which this rule applies. | |
|
|
Array |
An array containing Condition objects. |
|
|
Array |
An array containing strings with permissions to apply. |
Example
See the User Policy Resource for an example policy document containing rules and conditions on a user.