> ## 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: IResolveContext

> CDKTN Core API Reference for IResolveContext in Java.

* *Implemented By:* <a href="#cdktn.IResolveContext">IResolveContext</a>

Current resolution context for tokens.

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

| **Name**                                                                                      | **Description**                                                            |
| --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| <code><a href="#cdktn.IResolveContext.registerPostProcessor">registerPostProcessor</a></code> | Use this postprocessor after the entire token structure has been resolved. |
| <code><a href="#cdktn.IResolveContext.resolve">resolve</a></code>                             | Resolve an inner object.                                                   |

***

### `registerPostProcessor` <a name="registerPostProcessor" id="cdktn.IResolveContext.registerPostProcessor" />

```java theme={null}
public void registerPostProcessor(IPostProcessor postProcessor)
```

Use this postprocessor after the entire token structure has been resolved.

#### `postProcessor`<sup>Required</sup> <a name="postProcessor" id="cdktn.IResolveContext.registerPostProcessor.parameter.postProcessor" />

* *Type:* <a href="#cdktn.IPostProcessor">IPostProcessor</a>

***

### `resolve` <a name="resolve" id="cdktn.IResolveContext.resolve" />

```java theme={null}
public java.lang.Object resolve(java.lang.Object x)
```

Resolve an inner object.

#### `x`<sup>Required</sup> <a name="x" id="cdktn.IResolveContext.resolve.parameter.x" />

* *Type:* java.lang.Object

***

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

| **Name**                                                                                   | **Type**                                    | **Description**                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------ | ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <code><a href="#cdktn.IResolveContext.property.preparing">preparing</a></code>             | <code>java.lang.Boolean</code>              | True when we are still preparing, false if we're rendering the final output.                                                                                                                                                       |
| <code><a href="#cdktn.IResolveContext.property.scope">scope</a></code>                     | <code>software.constructs.IConstruct</code> | The scope from which resolution has been initiated.                                                                                                                                                                                |
| <code><a href="#cdktn.IResolveContext.property.ignoreEscapes">ignoreEscapes</a></code>     | <code>java.lang.Boolean</code>              | True when \$\{} should not be parsed, and treated as literals.                                                                                                                                                                     |
| <code><a href="#cdktn.IResolveContext.property.iteratorContext">iteratorContext</a></code> | <code>java.lang.String</code>               | TerraformIterators can be passed for block attributes and normal list attributes both require different handling when the iterable variable is accessed e.g. a dynamic block needs each.key while a for expression just needs key. |
| <code><a href="#cdktn.IResolveContext.property.suppressBraces">suppressBraces</a></code>   | <code>java.lang.Boolean</code>              | True when \$\{} should be ommitted (because already inside them), false otherwise.                                                                                                                                                 |
| <code><a href="#cdktn.IResolveContext.property.warnEscapes">warnEscapes</a></code>         | <code>java.lang.Boolean</code>              | True when \$\{} should not be included in the string to be resolved, outputs a warning.                                                                                                                                            |

***

### `preparing`<sup>Required</sup> <a name="preparing" id="cdktn.IResolveContext.property.preparing" />

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

* *Type:* java.lang.Boolean

True when we are still preparing, false if we're rendering the final output.

***

### `scope`<sup>Required</sup> <a name="scope" id="cdktn.IResolveContext.property.scope" />

```java theme={null}
public IConstruct getScope();
```

* *Type:* software.constructs.IConstruct

The scope from which resolution has been initiated.

***

### `ignoreEscapes`<sup>Optional</sup> <a name="ignoreEscapes" id="cdktn.IResolveContext.property.ignoreEscapes" />

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

* *Type:* java.lang.Boolean

True when \$\{} should not be parsed, and treated as literals.

***

### `iteratorContext`<sup>Optional</sup> <a name="iteratorContext" id="cdktn.IResolveContext.property.iteratorContext" />

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

* *Type:* java.lang.String

TerraformIterators can be passed for block attributes and normal list attributes both require different handling when the iterable variable is accessed e.g. a dynamic block needs each.key while a for expression just needs key.

***

### `suppressBraces`<sup>Optional</sup> <a name="suppressBraces" id="cdktn.IResolveContext.property.suppressBraces" />

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

* *Type:* java.lang.Boolean

True when \$\{} should be ommitted (because already inside them), false otherwise.

***

### `warnEscapes`<sup>Optional</sup> <a name="warnEscapes" id="cdktn.IResolveContext.property.warnEscapes" />

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

* *Type:* java.lang.Boolean

True when \$\{} should not be included in the string to be resolved, outputs a warning.

Default: false

***
