Skip to main content

Module additional_schema_source

Module additional_schema_source 

Source
Expand description

A pre-read CloudFormation resource provider schema to overlay on bundled schemas. This module provides the shared type used by both EngineConfig (in validation-engine) and SchemaValidatorConfig (in schema-validator) so that overlays are specified once and applied identically everywhere.

The struct contains only pre-read data and pure resolution logic - no filesystem access. Host layers (CLI, language bindings) read files and populate the struct before passing it in. Feature-gated derives expose the same record shape through WASM and UniFFI bindings. type_name is optional: leaving it unset (None) requests the schema’s own typeName, so the field maps to a naturally nullable, omittable value in every binding.

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>.