INumberProducer

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

Bases: Protocol

Interface for lazy number producers.

Methods

produce(context)

Produce the number value.

Parameters:

context (IResolveContext) –

Return type:

Union[int, float, None]