All Products
Search
Document Center

Function Compute:LifecycleHook

Last Updated:Sep 19, 2024
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