All Products
Search
Document Center

Function Compute:LifecycleHook

Last Updated:Nov 22, 2024
ParameterTypeDescriptionExample
object

The configurations of the lifecycle hook for the function instance.

handlerstring

The handler of the hook. The definition is similar to that of a request handler.

index.initializer
timeoutinteger

The timeout period of the hook. Unit: seconds.

10