Recursively resolves a value tree.
JSON path to the current value (e.g. ['spec', 'replicas'])
The value to resolve
The ProviderResource being synthesized (for context)
The provider identifier (e.g. 'kubernetes', 'hetzner')
Post-resolution sanitization.
null and undefined values from objects (they are omitted in the output).The resolved value tree to sanitize
Sanitization options
StaticwithCreates a ResolverPipeline with only the built-in resolvers (no custom resolvers).
The core resolution engine for cdkx synthesis.
Encapsulates an ordered list of
IResolverinstances and applies them recursively to a value tree (plain objects, arrays, primitives, Lazy instances, IResolvable tokens).Resolution algorithm:
replaceValue(), recursively re-resolve the replacement (supports Lazy → IResolvable chains).After resolution, call
sanitize()to strip nulls/undefineds and validate that no unresolved token objects remain in the tree.