Skip to content

IStackSynthesizer

Encodes information how a certain Stack should be deployed.

Methods

Name Description
addFileAsset Register a File Asset.
bind Bind to the stack this environment is going to be used on.
synthesize Synthesize the associated stack to the session.

addFileAsset

public addFileAsset(asset: FileAssetSource): FileAssetLocation

Register a File Asset.

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

assetRequired


bind

public 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.

stackRequired


synthesize

public synthesize(session: ISynthesisSession): void

Synthesize the associated stack to the session.

sessionRequired