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
action
referenced by the policy.Any conditional clauses, such as
when
orunless
clauses.
You can't change the following elements:
Changing from
static
totemplateLinked
.Changing the effect of the policy from
permit
orforbid
.The
principal
referenced by the policy.The
resource
referenced by the policy.