# StageSynthesisOptions

Options for assembly synthesis.

- Source: [`core/lib/stage.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/stage.ts#L377)
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const stageSynthesisOptions: cdk.StageSynthesisOptions = {
  aspectStabilization: false,
  errorOnDuplicateSynth: false,
  force: false,
  skipValidation: false,
  validateOnSynthesis: false,
};
```

## Properties

- `aspectStabilization`: boolean = false — Whether or not run the stabilization loop while invoking Aspects.

  The stabilization loop runs multiple passes of the construct tree when invoking
  Aspects. Without the stabilization loop, Aspects that are created by other Aspects
  are not run and new nodes that are created at higher points on the construct tree by
  an Aspect will not inherit their parent aspects.

- `errorOnDuplicateSynth`: boolean = true — Whether or not to throw a warning instead of an error if the construct tree has been mutated since the last synth.

- `force`: boolean = false — Force a re-synth, even if the stage has already been synthesized.

  This is used by tests to allow for incremental verification of the output.
  Do not use in production.

- `skipValidation`: boolean = false — Should we skip construct validation.

- `validateOnSynthesis`: boolean = false — Whether the stack should be validated after synthesis to check for error metadata.
