https://pulumi.com logo
h

helpful-continent-74245

11/08/2018, 5:02 AM
Looking at the code that doesn't seem possible... The
onObjectCreated
calls
createFunctionFromEventHandler
which create the function using the following line:
Copy code
return new CallbackFunction(name, { callback: handler }, opts);
In
CallbackFunction
, the
role
is supposed to be passed as second argument but it can only be
{ callback: handler }
from the call