runway.cfngin.lookups.handlers.hook_data module

Hook data lookup.

class runway.cfngin.lookups.handlers.hook_data.HookDataLookup[source]

Bases: LookupHandler[CfnginContext]

Hook data lookup.

TYPE_NAME: ClassVar[str] = 'hook_data'

Name that the Lookup is registered as.

classmethod handle(value: str, context: runway.context.CfnginContext, **_: Any) Any[source]

Return the data from hook_data.

Parameters:
  • value – Parameter(s) given to this lookup.

  • context – Context instance.