UNPKG

@aws-cdk/core

Version:

AWS Cloud Development Kit Core Library

23 lines (22 loc) 947 B
import { DockerImageAssetLocation, DockerImageAssetSource, FileAssetLocation, FileAssetSource } from '../assets'; import { ISynthesisSession } from '../construct-compat'; import { Stack } from '../stack'; import { StackSynthesizer } from './stack-synthesizer'; import { IStackSynthesizer } from './types'; /** * Synthesizer for a nested stack * * Forwards all calls to the parent stack's synthesizer. * * This synthesizer is automatically used for `NestedStack` constructs. * App builder do not need to use this class directly. */ export declare class NestedStackSynthesizer extends StackSynthesizer { private readonly parentDeployment; private stack?; constructor(parentDeployment: IStackSynthesizer); bind(stack: Stack): void; addFileAsset(asset: FileAssetSource): FileAssetLocation; addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation; synthesize(session: ISynthesisSession): void; }