Skip to main content

Initializer

Properties


ContextOptional

  • Type: System.Collections.Generic.IDictionary< string, object >
  • Default: no additional context
Additional context values for the application. Context set by the CLI or the context key in cdktf.json has precedence. Context can be read from any construct using node.getContext(key).

HclOutputOptional

  • Type: bool

OutdirOptional

  • Type: string
  • Default: CDKTF_OUTDIR if defined, otherwise “cdktf.out”
The directory to output Terraform resources. If you are using the CDKTN CLI, this value is automatically set from one of the following three sources:
  • The -o / --output CLI option
  • The CDKTF_OUTDIR environment variable
  • The outdir key in cdktf.json
If you are using the CDKTN CLI and want to set a different value here, you will also need to set the same value via one of the three ways specified above. The most common case to set this value is when you are using the CDKTN library directly (e.g. when writing unit tests).

SkipBackendValidationOptional

  • Type: bool
  • Default: false
Whether to skip backend validation during synthesis of the app.

SkipValidationOptional

  • Type: bool
  • Default: false
Whether to skip all validations during synthesis of the app.

StackTracesOptional

  • Type: bool