IStringProducer

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

Bases: typing_extensions.Protocol

Interface for lazy string producers.

__init__(*args, **kwargs)

Methods

produce(context)

Produce the string value.

Parameters

context (IResolveContext) –

Return type

Optional[str]