verifiedpermissions_put_schema: Creates or updates the policy schema in the specified policy...

View source: R/verifiedpermissions_operations.R

verifiedpermissions_put_schemaR Documentation

Creates or updates the policy schema in the specified policy store

Description

Creates or updates the policy schema in the specified policy store. The schema is used to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.

See https://www.paws-r-sdk.com/docs/verifiedpermissions_put_schema/ for full documentation.

Usage

verifiedpermissions_put_schema(policyStoreId, definition)

Arguments

policyStoreId

[required] Specifies the ID of the policy store in which to place the schema.

definition

[required] Specifies the definition of the schema to be stored. The schema definition must be written in Cedar schema JSON.


paws.security.identity documentation built on May 29, 2024, 10:51 a.m.