Interface SynthesisOptions

All Superinterfaces:
AssemblyBuildOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SynthesisOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.146Z") @Stability(Deprecated) @Deprecated public interface SynthesisOptions extends software.amazon.jsii.JsiiSerializable, AssemblyBuildOptions
Deprecated.
use app.synth() or stage.synth() instead
(deprecated) Options for synthesis.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.core.*;
 SynthesisOptions synthesisOptions = SynthesisOptions.builder()
         .outdir("outdir")
         .runtimeInfo(RuntimeInfo.builder()
                 .libraries(Map.of(
                         "librariesKey", "libraries"))
                 .build())
         .skipValidation(false)
         .validateOnSynthesis(false)
         .build();
 

  • Method Details

    • getOutdir

      @Stability(Deprecated) @Deprecated @Nullable default String getOutdir()
      Deprecated.
      (deprecated) The output directory into which to synthesize the cloud assembly.

      Default: - creates a temporary directory

    • getSkipValidation

      @Stability(Deprecated) @Deprecated @Nullable default Boolean getSkipValidation()
      Deprecated.
      (deprecated) Whether synthesis should skip the validation phase.

      Default: false

    • getValidateOnSynthesis

      @Stability(Deprecated) @Deprecated @Nullable default Boolean getValidateOnSynthesis()
      Deprecated.
      (deprecated) Whether the stack should be validated after synthesis to check for error metadata.

      Default: - false

    • builder

      @Stability(Deprecated) @Deprecated static SynthesisOptions.Builder builder()
      Deprecated.
      Returns:
      a SynthesisOptions.Builder of SynthesisOptions