Skip to main content

Initializer

using Io.Cdktn;

new AppConfig {
    System.Collections.Generic.IDictionary<string, object> Context = null,
    bool HclOutput = null,
    string Outdir = null,
    bool SkipBackendValidation = null,
    bool SkipValidation = null,
    bool StackTraces = null
};

Properties

NameTypeDescription
ContextSystem.Collections.Generic.IDictionary< string, object >Additional context values for the application.
HclOutputboolNo description.
OutdirstringThe directory to output Terraform resources.
SkipBackendValidationboolWhether to skip backend validation during synthesis of the app.
SkipValidationboolWhether to skip all validations during synthesis of the app.
StackTracesboolNo description.

ContextOptional

public System.Collections.Generic.IDictionary<string, object> Context { get; set; }
  • 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

public bool HclOutput { get; set; }
  • Type: bool

OutdirOptional

public string Outdir { get; set; }
  • 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

public bool SkipBackendValidation { get; set; }
  • Type: bool
  • Default: false
Whether to skip backend validation during synthesis of the app.

SkipValidationOptional

public bool SkipValidation { get; set; }
  • Type: bool
  • Default: false
Whether to skip all validations during synthesis of the app.

StackTracesOptional

public bool StackTraces { get; set; }
  • Type: bool