Interface IStackSynthesizer
Encodes information how a certain Stack should be deployed.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public interface IStackSynthesizer
Syntax (vb)
Public Interface IStackSynthesizer
Synopsis
Methods
AddDockerImageAsset(IDockerImageAssetSource) | Register a Docker Image Asset. |
AddFileAsset(IFileAssetSource) | Register a File Asset. |
Bind(Stack) | Bind to the stack this environment is going to be used on. |
Synthesize(ISynthesisSession) | Synthesize the associated stack to the session. |
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