All Products
Search
Document Center

Function Compute (2.0):LifecycleHook

Last Updated:Mar 03, 2024
ParameterTypeDescriptionExample
object

The configuration of lifecycle callbacks.

handlerstring

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

index.preStop
timeoutinteger

The timeout period for the execution. Unit: seconds.

10