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

> CDKTN Core API Reference for ITokenMapper in Python.

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

Interface to apply operation to tokens in a string.

Interface so it can be exported via jsii.

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

| **Name**                                                           | **Description**         |
| ------------------------------------------------------------------ | ----------------------- |
| <code><a href="#cdktn.ITokenMapper.mapToken">map\_token</a></code> | Replace a single token. |

***

### `map_token` <a name="map_token" id="cdktn.ITokenMapper.mapToken" />

```python theme={null}
def map_token(
  t: IResolvable
) -> typing.Any
```

Replace a single token.

#### `t`<sup>Required</sup> <a name="t" id="cdktn.ITokenMapper.mapToken.parameter.t" />

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

***
