# IBoundStackSynthesizer

A Stack Synthesizer, obtained from `IReusableStackSynthesizer.`.

Just a type alias with a very concrete contract.

Extends: IBoundStackSynthesizer
Extends: IStackSynthesizer
Implemented by: BootstraplessSynthesizer, CliCredentialsStackSynthesizer, DefaultStackSynthesizer, LegacyStackSynthesizer

- Source: [`core/lib/stack-synthesizers/types.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/stack-synthesizers/types.ts#L81)
- Type last changed: v2.61.0 · 19 Jan 2023

## Properties

- `bootstrapQualifier`: string — The qualifier used to bootstrap this stack.

  **Default:** no qualifier

- `cloudFormationExecutionRole`: string — The role that is passed to CloudFormation to execute the change set.

  **Default:** no role

- `lookupRole`: string — The role used to lookup for this stack.

  **Default:** no role

## Methods

- `addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation` — Register a Docker Image Asset.

  Returns the parameters that can be used to refer to the asset inside the template.

- `addFileAsset(asset: FileAssetSource): FileAssetLocation` — Register a File Asset.

  Returns the parameters that can be used to refer to the asset inside the template.

- `bind(stack: Stack): void` — Bind to the stack this environment is going to be used on.

  Must be called before any of the other methods are called, and can only be called once.

- `synthesize(session: ISynthesisSession): void` — Synthesize the associated stack to the session.
