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

# Python: LazyBase

> CDKTN Core API Reference for LazyBase in Python.

* *Implements:* <a href="#cdktn.IResolvable">IResolvable</a>

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

```python theme={null}
import cdktn

cdktn.LazyBase()
```

| **Name** | **Type** | **Description** |
| -------- | -------- | --------------- |

***

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

| **Name**                                                                         | **Description**                                           |
| -------------------------------------------------------------------------------- | --------------------------------------------------------- |
| <code><a href="#cdktn.LazyBase.addPostProcessor">add\_post\_processor</a></code> | *No description.*                                         |
| <code><a href="#cdktn.LazyBase.resolve">resolve</a></code>                       | Produce the Token's value at resolution time.             |
| <code><a href="#cdktn.LazyBase.toJSON">to\_jso\_n</a></code>                     | Turn this Token into JSON.                                |
| <code><a href="#cdktn.LazyBase.toString">to\_string</a></code>                   | Return a string representation of this resolvable object. |

***

### `add_post_processor` <a name="add_post_processor" id="cdktn.LazyBase.addPostProcessor" />

```python theme={null}
def add_post_processor(
  post_processor: IPostProcessor
) -> None
```

#### `post_processor`<sup>Required</sup> <a name="post_processor" id="cdktn.LazyBase.addPostProcessor.parameter.postProcessor" />

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

***

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

```python theme={null}
def resolve(
  context: IResolveContext
) -> typing.Any
```

Produce the Token's value at resolution time.

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

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

***

### `to_jso_n` <a name="to_jso_n" id="cdktn.LazyBase.toJSON" />

```python theme={null}
def to_jso_n() -> typing.Any
```

Turn this Token into JSON.

Called automatically when JSON.stringify() is called on a Token.

### `to_string` <a name="to_string" id="cdktn.LazyBase.toString" />

```python theme={null}
def to_string() -> str
```

Return a string representation of this resolvable object.

Returns a reversible string representation.

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

| **Name**                                                                          | **Type**                       | **Description**                                                                                  |
| --------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ |
| <code><a href="#cdktn.LazyBase.property.creationStack">creation\_stack</a></code> | <code>typing.List\[str]</code> | The creation stack of this resolvable which will be appended to errors thrown during resolution. |

***

### `creation_stack`<sup>Required</sup> <a name="creation_stack" id="cdktn.LazyBase.property.creationStack" />

```python theme={null}
creation_stack: typing.List[str]
```

* *Type:* typing.List\[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.

***
