statement
Specifies new statement content written in Cedar policy language to replace the current body of the policy template.
You can change only the following elements of the policy body:
The
action
referenced by the policy template.Any conditional clauses, such as
when
orunless
clauses.
You can't change the following elements:
The effect (
permit
orforbid
) of the policy template.The
principal
referenced by the policy template.The
resource
referenced by the policy template.