IStackSynthesizer
- Implemented By: DefaultStackSynthesizer, StackSynthesizer, IBoundStackSynthesizer, IReusableStackSynthesizer, 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
func AddFileAsset(asset FileAssetSource) FileAssetLocation
Register a File Asset.
Returns the parameters that can be used to refer to the asset inside the template.
- Type: FileAssetSource
Bind
func Bind(stack Stack)
Bind to the stack this environment is going to be used on.
Must be called before any of the other methods are called.
- Type: Stack
Synthesize
func Synthesize(session ISynthesisSession)
Synthesize the associated stack to the session.
- Type: ISynthesisSession