white-balloon-205
CallbackFunction
so that you can customize the role (or other properties of the Lambda Function object), but you would still be able to pass a simple JavaScript callback. @lemon-spoon-91807 can probably share pointers to some examples of the common patterns here if you have any specific use cases in mind.