UpdateStaticPolicyDefinition
¶
Source code in docs_src/capo_verifiedpermissions/types/update_static_policy_definition.py
description
instance-attribute
¶
description: NotRequired[StaticPolicyDescription]
Specifies the description to be added to or replaced on the static policy.
statement
instance-attribute
¶
statement: PolicyStatement
Specifies the Cedar policy language text to be added to or replaced on the static policy.
You can change only the following elements from the original content:
-
The
actionreferenced by the policy. -
Any conditional clauses, such as
whenorunlessclauses.
You can't change the following elements:
-
Changing from
StaticPolicytoTemplateLinkedPolicy. -
The effect (
permitorforbid) of the policy. -
The
principalreferenced by the policy. -
The
resourcereferenced by the policy.