View source: R/verifiedpermissions_operations.R
verifiedpermissions_update_policy | R Documentation |
Modifies a Cedar static policy in the specified policy store. You can change only certain elements of the UpdatePolicyDefinition parameter. You can directly update only static policies. To change a template-linked policy, you must update the template instead, using update_policy_template
.
See https://www.paws-r-sdk.com/docs/verifiedpermissions_update_policy/ for full documentation.
verifiedpermissions_update_policy(policyStoreId, policyId, definition)
policyStoreId |
[required] Specifies the ID of the policy store that contains the policy that you want to update. |
policyId |
[required] Specifies the ID of the policy that you want to update. To find this
value, you can use |
definition |
[required] 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:
You can't change the following elements:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.