UpdateStaticPolicyDefinition
Contains information about an update to a static policy.
Contents
Note
In the following list, the required parameters are described first.
- statement
-
Specifies the Cedar policy language text to be added to or replaced on the static policy.
Important
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 10000.
Required: Yes
-
- description
-
Specifies the description to be added to or replaced on the static policy.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 150.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: