UpdateStaticPolicyDefinition - Amazon Verified Permissions

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 action referenced by the policy.

  • Any conditional clauses, such as when or unless clauses.

You can't change the following elements:

  • Changing from StaticPolicy to TemplateLinkedPolicy.

  • The effect (permit or forbid) of the policy.

  • The principal referenced by the policy.

  • The resource referenced 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: