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
whenorunlessclauses.
You can't change the following elements:
Changing from
statictotemplateLinked.Changing the effect of the policy from
permitorforbid.The
principalreferenced by the policy.The
resourcereferenced by the policy.