Serverless Functions Configuration
Configuration reference for the Serverless Functions plugin (`serverless-functions`): the parameters, each attribute with its type, whether it is required, its default and its accepted values.
Parameters
See plugin common configurations (opens in Apache APISIX docs) for configuration options available to all plugins.
phase — string · optional · default: access · since APISIX 1.2
Valid values: rewrite, access, header_filter, body_filter, log, and before_proxy
Phase before which the serverless function is executed.
functions — array[string] · required · since APISIX 1.2
List of functions that are executed sequentially.
Only Lua functions are allowed and not other Lua code. For example, anonymous functions and closures are legal, whereas other code not in a function will not be allowed. See tips for writing functions for more details.