Table of Contents

Interface ISynthesisOptions

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

(deprecated) Options for synthesis.

[Obsolete("use `app.synth()` or `stage.synth()` instead")]
public interface ISynthesisOptions : IAssemblyBuildOptions

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;
             var synthesisOptions = new SynthesisOptions {
                 Outdir = "outdir",
                 RuntimeInfo = new RuntimeInfo {
                     Libraries = new Dictionary<string, string> {
                         { "librariesKey", "libraries" }
                     }
                 },
                 SkipValidation = false,
                 ValidateOnSynthesis = false
             };

Remarks

Stability: Deprecated

ExampleMetadata: fixture=_generated

Properties

Outdir

(deprecated) The output directory into which to synthesize the cloud assembly.

[Obsolete]
string? Outdir { get; }

Property Value

string

Remarks

Default: - creates a temporary directory

Stability: Deprecated

SkipValidation

(deprecated) Whether synthesis should skip the validation phase.

[Obsolete]
bool? SkipValidation { get; }

Property Value

bool?

Remarks

Default: false

Stability: Deprecated

ValidateOnSynthesis

(deprecated) Whether the stack should be validated after synthesis to check for error metadata.

[Obsolete]
bool? ValidateOnSynthesis { get; }

Property Value

bool?

Remarks

Default: - false

Stability: Deprecated