cedar_policy_core

Module est

Source
Expand description

This module contains the External Syntax Tree (EST)

Structs§

  • Serde JSON structure for an extension function call in the EST format
  • Serde JSON structure for policies and templates in the EST format Note: Before attempting to build an est::Policy from a cst::Policy you must first ensure that the CST can be transformed into an AST. The CST-to-EST transformation does not duplicate all checks performed by the CST-to-AST transformation, so attempting to convert an invalid CST to an EST may succeed.
  • Serde JSON structure for a policy set in the EST format
  • Serde JSON structure for an is scope constraint for principal/resource in the EST format
  • Serde JSON structure describing a template-linked policy

Enums§

  • Serde JSON structure for an action scope constraint in the EST format
  • Serde JSON structure for an in scope constraint for action in the EST format
  • Serde JSON structure for a when or unless clause in the EST format
  • Serde JSON structure for a == scope constraint in the EST format
  • Serde JSON structure for a Cedar expression in the EST format
  • Serde JSON structure for [any Cedar expression other than an extension function call] in the EST format
  • Errors arising while converting a policy from its JSON representation (aka EST) into an AST
  • Errors while linking a policy
  • Represent an element of a pattern literal
  • Errors arising while converting a policy set from its JSON representation (aka EST) into an AST
  • Serde JSON structure for a principal scope constraint in the EST format
  • Serde JSON structure for an in scope constraint for principal/resource in the EST format
  • Serde JSON structure for a resource scope constraint in the EST format

Functions§

  • Return the single argument in args iterator, or return a wrong arity error if the iterator has 0 elements or more than 1 element.