All Products
Search
Document Center

Function Compute:LifecycleHook

Last Updated:Nov 17, 2025
ParameterTypeDescriptionExample
object

The lifecycle hook configurations.

handlerstring

The handler of the function. For more information, see Function handler.

index.preStop
timeoutinteger

The timeout period for function execution. Unit: seconds.

10