Show / Hide Table of Contents

Interface IStackSynthesizer

Encodes information how a certain Stack should be deployed.

Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStackSynthesizer
Syntax (vb)
Public Interface IStackSynthesizer

Synopsis

Properties

BootstrapQualifier

The qualifier used to bootstrap this stack.

LookupRole

The role used to lookup for this stack.

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.

Properties

BootstrapQualifier

The qualifier used to bootstrap this stack.

string? BootstrapQualifier { get; }
Property Value

string

Remarks

Default: - no qualifier

LookupRole

The role used to lookup for this stack.

string? LookupRole { get; }
Property Value

string

Remarks

Default: - no role

Methods

AddDockerImageAsset(IDockerImageAssetSource)

Register a Docker Image Asset.

IDockerImageAssetLocation AddDockerImageAsset(IDockerImageAssetSource asset)
Parameters
asset IDockerImageAssetSource
Returns

IDockerImageAssetLocation

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

IFileAssetLocation

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, and can only be called once.

Synthesize(ISynthesisSession)

Synthesize the associated stack to the session.

void Synthesize(ISynthesisSession session)
Parameters
session ISynthesisSession
Back to top Generated by DocFX