If you use the regular Function constructor, you will need to creat a Role and attach policies to that role manually, and the. Pass that role to the Function. CallbackFunction takes care of automating a bit of that boilerplate in the common case, but it’s equivalent to doing it manually.