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

# CSharp: Lazy

> CDKTN Core API Reference for Lazy in CSharp.

Lazily produce a value.

Can be used to return a string, list or numeric value whose actual value
will only be calculated later, during synthesis.

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

```csharp theme={null}
using Io.Cdktn;

new Lazy();
```

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

***

## Static Functions <a name="Static Functions" id="Static Functions" />

| **Name**                                                       | **Description**                               |
| -------------------------------------------------------------- | --------------------------------------------- |
| <code><a href="#cdktn.Lazy.anyValue">AnyValue</a></code>       | Produces a lazy token from an untyped value.  |
| <code><a href="#cdktn.Lazy.listValue">ListValue</a></code>     | Returns a list-ified token for a lazy value.  |
| <code><a href="#cdktn.Lazy.numberValue">NumberValue</a></code> | Returns a numberified token for a lazy value. |
| <code><a href="#cdktn.Lazy.stringValue">StringValue</a></code> | Returns a stringified token for a lazy value. |

***

### `AnyValue` <a name="AnyValue" id="cdktn.Lazy.anyValue" />

```csharp theme={null}
using Io.Cdktn;

Lazy.AnyValue(IAnyProducer Producer, LazyAnyValueOptions Options = null);
```

Produces a lazy token from an untyped value.

#### `Producer`<sup>Required</sup> <a name="Producer" id="cdktn.Lazy.anyValue.parameter.producer" />

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

The lazy producer.

***

#### `Options`<sup>Optional</sup> <a name="Options" id="cdktn.Lazy.anyValue.parameter.options" />

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

Options.

***

### `ListValue` <a name="ListValue" id="cdktn.Lazy.listValue" />

```csharp theme={null}
using Io.Cdktn;

Lazy.ListValue(IListProducer Producer, LazyListValueOptions Options = null);
```

Returns a list-ified token for a lazy value.

#### `Producer`<sup>Required</sup> <a name="Producer" id="cdktn.Lazy.listValue.parameter.producer" />

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

The producer.

***

#### `Options`<sup>Optional</sup> <a name="Options" id="cdktn.Lazy.listValue.parameter.options" />

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

Options.

***

### `NumberValue` <a name="NumberValue" id="cdktn.Lazy.numberValue" />

```csharp theme={null}
using Io.Cdktn;

Lazy.NumberValue(INumberProducer Producer);
```

Returns a numberified token for a lazy value.

#### `Producer`<sup>Required</sup> <a name="Producer" id="cdktn.Lazy.numberValue.parameter.producer" />

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

The producer.

***

### `StringValue` <a name="StringValue" id="cdktn.Lazy.stringValue" />

```csharp theme={null}
using Io.Cdktn;

Lazy.StringValue(IStringProducer Producer, LazyStringValueOptions Options = null);
```

Returns a stringified token for a lazy value.

#### `Producer`<sup>Required</sup> <a name="Producer" id="cdktn.Lazy.stringValue.parameter.producer" />

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

The producer.

***

#### `Options`<sup>Optional</sup> <a name="Options" id="cdktn.Lazy.stringValue.parameter.options" />

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

Options.

***
