INumberProducer

class aws_cdk.core.INumberProducer(*args, **kwargs)

Bases: typing_extensions.Protocol

Interface for lazy number producers.

__init__(*args, **kwargs)

Methods

produce(context)

Produce the number value.

Parameters

context (IResolveContext) –

Return type

Union[int, float, None]