definition
Specifies the updated policy content that you want to replace on the specified policy. The content must be valid Cedar policy language text.
You can change only the following elements from the policy definition:
- The - actionreferenced by the policy.
- Any conditional clauses, such as - whenor- unlessclauses.
You can't change the following elements:
- Changing from - staticto- templateLinked.
- Changing the effect of the policy from - permitor- forbid.
- The - principalreferenced by the policy.
- The - resourcereferenced by the policy.