PolicyStoreArgs

data class PolicyStoreArgs(val description: Output<String>? = null, val schema: Output<PolicyStoreSchemaDefinitionArgs>? = null, val validationSettings: Output<PolicyStoreValidationSettingsArgs>? = null) : ConvertibleToJava<PolicyStoreArgs>

Represents a policy store that you can place schema, policies, and policy templates in to validate authorization requests

Example Usage

Example

No Java example available.

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, schema: Output<PolicyStoreSchemaDefinitionArgs>? = null, validationSettings: Output<PolicyStoreValidationSettingsArgs>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

Descriptive text that you can provide to help with identification of the current policy store.

Link copied to clipboard

Creates or updates the policy schema in a policy store. Cedar can use the schema 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.

Link copied to clipboard

Specifies the validation setting for this policy store. Currently, the only valid and required value is Mode .

Functions

Link copied to clipboard
open override fun toJava(): PolicyStoreArgs