Skip to content

DefaultStackSynthesizer

Uses conventionally named roles and reify asset storage locations.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Core;
new DefaultStackSynthesizer(DefaultStackSynthesizerProps Props = null);
Name Type Description
Props DefaultStackSynthesizerProps No description.

PropsOptional


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.
ReusableBind Produce a bound Stack Synthesizer for the given stack.
SynthesizeStackArtifacts No description.

AddFileAsset

private FileAssetLocation AddFileAsset(FileAssetSource Asset)

Register a File Asset.

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

The synthesizer must rely on some out-of-band mechanism to make sure the given files are actually placed in the returned location before the deployment happens. This can be by writing the instructions to the asset manifest (for use by the cdk-assets tool), by relying on the CLI to upload files (legacy behavior), or some other operator controlled mechanism.

AssetRequired


Bind

private void 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.

StackRequired


Synthesize

private void Synthesize(ISynthesisSession Session)

Synthesize the associated stack to the session.

SessionRequired


ReusableBind

private IBoundStackSynthesizer ReusableBind(Stack Stack)

Produce a bound Stack Synthesizer for the given stack.

This method may be called more than once on the same object.

StackRequired


SynthesizeStackArtifacts

private void SynthesizeStackArtifacts(ISynthesisSession Session)

SessionRequired


Constants

Name Type Description
DefaultFileAssetPrefix string Default file asset prefix.
DefaultFileAssetsBucketName string Default file assets bucket name.
DefaultQualifier string Default ARN qualifier.

DefaultFileAssetPrefixRequired

public string DefaultFileAssetPrefix { get; }
  • Type: string

Default file asset prefix.


DefaultFileAssetsBucketNameRequired

public string DefaultFileAssetsBucketName { get; }
  • Type: string

Default file assets bucket name.


DefaultQualifierRequired

public string DefaultQualifier { get; }
  • Type: string

Default ARN qualifier.