synth method

SynthResult synth()

Synthesise this Stack into an in-memory SynthResult bundle.

Pure / side-effect-free: produces the Terraform JSON map plus the generated Dart source for appExports as values, without touching the filesystem. Use writeTo to persist the result to disk under a chosen output directory.

Throws a SynthException listing every SynthIssue (see validate) when the Stack cannot be synthesized.

Implementation

SynthResult synth() => StackSynth.synth(this);