INumberProducer

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

Bases: typing_extensions.Protocol

Interface for lazy number producers.

Methods

produce(context)

Produce the number value.

Parameters

context (IResolveContext) –

Return type

Union[int, float, None]