Interface IStackSynthesizer
Encodes information how a certain Stack should be deployed.
public interface IStackSynthesizer
Methods
AddDockerImageAsset(IDockerImageAssetSource)
Register a Docker Image Asset.
IDockerImageAssetLocation AddDockerImageAsset(IDockerImageAssetSource asset)
Parameters
asset
IDockerImageAssetSource
Returns
Remarks
Returns the parameters that can be used to refer to the asset inside the template.
AddFileAsset(IFileAssetSource)
Register a File Asset.
IFileAssetLocation AddFileAsset(IFileAssetSource asset)
Parameters
asset
IFileAssetSource
Returns
Remarks
Returns the parameters that can be used to refer to the asset inside the template.
Bind(Stack)
Bind to the stack this environment is going to be used on.
void Bind(Stack stack)
Parameters
stack
Stack
Remarks
Must be called before any of the other methods are called.
Synthesize(ISynthesisSession)
Synthesize the associated stack to the session.
void Synthesize(ISynthesisSession session)
Parameters
session
ISynthesisSession