UNPKG

947 BTypeScriptView Raw
1import { DockerImageAssetLocation, DockerImageAssetSource, FileAssetLocation, FileAssetSource } from '../assets';
2import { ISynthesisSession } from '../construct-compat';
3import { Stack } from '../stack';
4import { StackSynthesizer } from './stack-synthesizer';
5import { IStackSynthesizer } from './types';
6/**
7 * Synthesizer for a nested stack
8 *
9 * Forwards all calls to the parent stack's synthesizer.
10 *
11 * This synthesizer is automatically used for `NestedStack` constructs.
12 * App builder do not need to use this class directly.
13 */
14export declare class NestedStackSynthesizer extends StackSynthesizer {
15 private readonly parentDeployment;
16 private stack?;
17 constructor(parentDeployment: IStackSynthesizer);
18 bind(stack: Stack): void;
19 addFileAsset(asset: FileAssetSource): FileAssetLocation;
20 addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation;
21 synthesize(session: ISynthesisSession): void;
22}