IListProducer

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

Bases: typing_extensions.Protocol

Interface for lazy list producers.

__init__(*args, **kwargs)

Methods

produce(context)

Produce the list value.

Parameters

context (IResolveContext) –

Return type

Optional[List[str]]