> ## 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.

# Go: IResolveContext

> CDKTN Core API Reference for IResolveContext in Go.

* *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" />

```go theme={null}
func RegisterPostProcessor(postProcessor IPostProcessor)
```

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" />

```go theme={null}
func Resolve(x interface{}) interface{}
```

Resolve an inner object.

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

* *Type:* interface\{}

***

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

| **Name**                                                                                   | **Type**                                                            | **Description**                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <code><a href="#cdktn.IResolveContext.property.preparing">Preparing</a></code>             | <code>\*bool</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>github.com/aws/constructs-go/constructs/v10.IConstruct</code> | The scope from which resolution has been initiated.                                                                                                                                                                                |
| <code><a href="#cdktn.IResolveContext.property.ignoreEscapes">IgnoreEscapes</a></code>     | <code>\*bool</code>                                                 | True when \$\{} should not be parsed, and treated as literals.                                                                                                                                                                     |
| <code><a href="#cdktn.IResolveContext.property.iteratorContext">IteratorContext</a></code> | <code>\*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>\*bool</code>                                                 | True when \$\{} should be ommitted (because already inside them), false otherwise.                                                                                                                                                 |
| <code><a href="#cdktn.IResolveContext.property.warnEscapes">WarnEscapes</a></code>         | <code>\*bool</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" />

```go theme={null}
func Preparing() *bool
```

* *Type:* \*bool

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" />

```go theme={null}
func Scope() IConstruct
```

* *Type:* github.com/aws/constructs-go/constructs/v10.IConstruct

The scope from which resolution has been initiated.

***

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

```go theme={null}
func IgnoreEscapes() *bool
```

* *Type:* \*bool

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

***

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

```go theme={null}
func IteratorContext() *string
```

* *Type:* \*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" />

```go theme={null}
func SuppressBraces() *bool
```

* *Type:* \*bool

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

***

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

```go theme={null}
func WarnEscapes() *bool
```

* *Type:* \*bool

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

Default: false

***
