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

> CDKTN Core API Reference for NumberMap in Python.

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

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

```python theme={null}
import cdktn

cdktn.NumberMap(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
```

| **Name**                                                                                                  | **Type**                                                                    | **Description**   |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.NumberMap.Initializer.parameter.terraformResource">terraform\_resource</a></code>   | <code><a href="#cdktn.IInterpolatingParent">IInterpolatingParent</a></code> | *No description.* |
| <code><a href="#cdktn.NumberMap.Initializer.parameter.terraformAttribute">terraform\_attribute</a></code> | <code>str</code>                                                            | *No description.* |

***

### `terraform_resource`<sup>Required</sup> <a name="terraform_resource" id="cdktn.NumberMap.Initializer.parameter.terraformResource" />

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

***

### `terraform_attribute`<sup>Required</sup> <a name="terraform_attribute" id="cdktn.NumberMap.Initializer.parameter.terraformAttribute" />

* *Type:* str

***

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

| **Name**                                                            | **Description**                                           |
| ------------------------------------------------------------------- | --------------------------------------------------------- |
| <code><a href="#cdktn.NumberMap.computeFqn">compute\_fqn</a></code> | *No description.*                                         |
| <code><a href="#cdktn.NumberMap.lookup">lookup</a></code>           | *No description.*                                         |
| <code><a href="#cdktn.NumberMap.resolve">resolve</a></code>         | Produce the Token's value at resolution time.             |
| <code><a href="#cdktn.NumberMap.toString">to\_string</a></code>     | Return a string representation of this resolvable object. |

***

### `compute_fqn` <a name="compute_fqn" id="cdktn.NumberMap.computeFqn" />

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

### `lookup` <a name="lookup" id="cdktn.NumberMap.lookup" />

```python theme={null}
def lookup(
  key: str
) -> typing.Union[int, float]
```

#### `key`<sup>Required</sup> <a name="key" id="cdktn.NumberMap.lookup.parameter.key" />

* *Type:* str

***

### `resolve` <a name="resolve" id="cdktn.NumberMap.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.NumberMap.resolve.parameter._context" />

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

***

### `to_string` <a name="to_string" id="cdktn.NumberMap.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.NumberMap.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. |
| <code><a href="#cdktn.NumberMap.property.fqn">fqn</a></code>                       | <code>str</code>               | *No description.*                                                                                |

***

### `creation_stack`<sup>Required</sup> <a name="creation_stack" id="cdktn.NumberMap.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.

***

### `fqn`<sup>Required</sup> <a name="fqn" id="cdktn.NumberMap.property.fqn" />

```python theme={null}
fqn: str
```

* *Type:* str

***
