Parameter | Type | Description | Example |
---|---|---|---|
object | The configurations of the lifecycle hook for the function instance. | ||
handler | string | The handler of the hook. The definition is similar to that of a request handler. | index.initializer |
timeout | integer | The timeout period of the hook. Unit: seconds. | 10 |