Skip to main content
App is the root of the construct tree. It represents the entire tfts application and manages the synthesis process.

Constructor

AppConfig

Properties

outdir

readonly outdir: string The output directory for synthesized files.

hclOutput

readonly hclOutput: boolean Whether HCL output is enabled.

targetStackId

readonly targetStackId?: string The ID of the stack being targeted for synthesis.

skipValidation

readonly skipValidation: boolean Whether validation is skipped.

skipBackendValidation

readonly skipBackendValidation: boolean Whether backend validation is skipped.

manifest

readonly manifest: Manifest The synthesis manifest.

Methods

synth()

Synthesizes the application, generating Terraform configurations in the output directory.

static asApp()

Returns the App instance if the object is an App.

static of()

Returns the App instance that contains the given construct.

crossStackReference()

Manages references between different stacks.