| Parameter | Type | Description | Example |
|---|---|---|---|
| object | The lifecycle hook configurations. | ||
| handler | string | The handler of the function. For more information, see Function handler. | index.preStop |
| timeout | integer | The timeout period for function execution. Unit: seconds. | 10 |