> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Java: AppConfig

> CDKTN Core API Reference for AppConfig in Java.

## Initializer <a name="Initializer" id="cdktn.AppConfig.Initializer" />

```java theme={null}
import io.cdktn.cdktn.AppConfig;

AppConfig.builder()
//  .context(java.util.Map<java.lang.String, java.lang.Object>)
//  .hclOutput(java.lang.Boolean)
//  .outdir(java.lang.String)
//  .skipBackendValidation(java.lang.Boolean)
//  .skipValidation(java.lang.Boolean)
//  .stackTraces(java.lang.Boolean)
    .build();
```

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                                         | **Type**                                                          | **Description**                                                 |
| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- | --------------------------------------------------------------- |
| <code><a href="#cdktn.AppConfig.property.context">context</a></code>                             | <code>java.util.Map\< java.lang.String, java.lang.Object ></code> | Additional context values for the application.                  |
| <code><a href="#cdktn.AppConfig.property.hclOutput">hclOutput</a></code>                         | <code>java.lang.Boolean</code>                                    | *No description.*                                               |
| <code><a href="#cdktn.AppConfig.property.outdir">outdir</a></code>                               | <code>java.lang.String</code>                                     | The directory to output Terraform resources.                    |
| <code><a href="#cdktn.AppConfig.property.skipBackendValidation">skipBackendValidation</a></code> | <code>java.lang.Boolean</code>                                    | Whether to skip backend validation during synthesis of the app. |
| <code><a href="#cdktn.AppConfig.property.skipValidation">skipValidation</a></code>               | <code>java.lang.Boolean</code>                                    | Whether to skip all validations during synthesis of the app.    |
| <code><a href="#cdktn.AppConfig.property.stackTraces">stackTraces</a></code>                     | <code>java.lang.Boolean</code>                                    | *No description.*                                               |

***

### `context`<sup>Optional</sup> <a name="context" id="cdktn.AppConfig.property.context" />

```java theme={null}
public java.util.Map<java.lang.String, java.lang.Object> getContext();
```

* *Type:* java.util.Map\< java.lang.String, java.lang.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)`.

***

### `hclOutput`<sup>Optional</sup> <a name="hclOutput" id="cdktn.AppConfig.property.hclOutput" />

```java theme={null}
public java.lang.Boolean getHclOutput();
```

* *Type:* java.lang.Boolean

***

### `outdir`<sup>Optional</sup> <a name="outdir" id="cdktn.AppConfig.property.outdir" />

```java theme={null}
public java.lang.String getOutdir();
```

* *Type:* java.lang.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).

***

### `skipBackendValidation`<sup>Optional</sup> <a name="skipBackendValidation" id="cdktn.AppConfig.property.skipBackendValidation" />

```java theme={null}
public java.lang.Boolean getSkipBackendValidation();
```

* *Type:* java.lang.Boolean
* *Default:* false

Whether to skip backend validation during synthesis of the app.

***

### `skipValidation`<sup>Optional</sup> <a name="skipValidation" id="cdktn.AppConfig.property.skipValidation" />

```java theme={null}
public java.lang.Boolean getSkipValidation();
```

* *Type:* java.lang.Boolean
* *Default:* false

Whether to skip all validations during synthesis of the app.

***

### `stackTraces`<sup>Optional</sup> <a name="stackTraces" id="cdktn.AppConfig.property.stackTraces" />

```java theme={null}
public java.lang.Boolean getStackTraces();
```

* *Type:* java.lang.Boolean

***
