Table of Contents

Class SynthesisOptions

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

(deprecated) Options for synthesis.

public class SynthesisOptions : ISynthesisOptions, IAssemblyBuildOptions
Inheritance
SynthesisOptions
Implements
IAssemblyBuildOptions
Inherited Members

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

Constructors

SynthesisOptions()

public SynthesisOptions()

Properties

Outdir

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

[Obsolete]
public string? Outdir { get; set; }

Property Value

string

Remarks

Default: - creates a temporary directory

Stability: Deprecated

RuntimeInfo

(deprecated) Include the specified runtime information (module versions) in manifest.

[Obsolete("All template modifications that should result from this should have already been inserted into the template.")]
public IRuntimeInfo? RuntimeInfo { get; set; }

Property Value

IRuntimeInfo

Remarks

Default: - if this option is not specified, runtime info will not be included

Stability: Deprecated

SkipValidation

(deprecated) Whether synthesis should skip the validation phase.

[Obsolete]
public bool? SkipValidation { get; set; }

Property Value

bool?

Remarks

Default: false

Stability: Deprecated

ValidateOnSynthesis

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

[Obsolete]
public bool? ValidateOnSynthesis { get; set; }

Property Value

bool?

Remarks

Default: - false

Stability: Deprecated