Skip to main content

Crate schema_validator

Crate schema_validator 

Source

Re-exports§

pub use overlay::MAX_OVERLAY_DEPTH;
pub use overlay::SchemaOverlayError;
pub use store::CompiledSchemaStore;
pub use store::OverlayOutcome;

Modules§

catalog
A centralized catalog of rule-engine–visible metadata derived from the final merged [CompiledSchemaStore] for only the resource types that were touched by at least one overlay.
overlay
Runtime compilation and merging of overlay CloudFormation resource provider schemas on top of the bundled compiled schemas.
store
validate

Structs§

AdditionalSchemaSource
A single additional CloudFormation resource provider schema to overlay on top of the bundled schemas.
SchemaSourceError
Error type for schema source resolution failures. Deliberately cheap to construct (just a message string) and convertible from the caller’s own error type via From<String>.
SchemaValidationResult
SchemaValidator
SchemaValidatorConfig
Configuration for constructing a SchemaValidator with optional overlay schemas. Bindings and the CLI use this to build the validator separately from the rule engine.

Enums§

SchemaValidatorConfigError
Error reported when schema-validator construction from config fails.

Functions§

prewarm_embedded_data
Eagerly decompress all embedded data LazyLocks. Intended to be called once at process/module start in environments that benefit from front-loading cost