Skip to main content
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

using Io.Cdktn;

new Lazy();
NameTypeDescription

Static Functions

NameDescription
AnyValueProduces a lazy token from an untyped value.
ListValueReturns a list-ified token for a lazy value.
NumberValueReturns a numberified token for a lazy value.
StringValueReturns a stringified token for a lazy value.

AnyValue

using Io.Cdktn;

Lazy.AnyValue(IAnyProducer Producer, LazyAnyValueOptions Options = null);
Produces a lazy token from an untyped value.

ProducerRequired

The lazy producer.

OptionsOptional

Options.

ListValue

using Io.Cdktn;

Lazy.ListValue(IListProducer Producer, LazyListValueOptions Options = null);
Returns a list-ified token for a lazy value.

ProducerRequired

The producer.

OptionsOptional

Options.

NumberValue

using Io.Cdktn;

Lazy.NumberValue(INumberProducer Producer);
Returns a numberified token for a lazy value.

ProducerRequired

The producer.

StringValue

using Io.Cdktn;

Lazy.StringValue(IStringProducer Producer, LazyStringValueOptions Options = null);
Returns a stringified token for a lazy value.

ProducerRequired

The producer.

OptionsOptional

Options.