All Products
Search
Document Center

Function Compute:PutAsyncInvokeConfigInput

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The asynchronous invocation configurations.

asyncTaskboolean

Optional. Specify whether to enable the asynchronous task feature.

true
destinationConfigDestinationConfig

Optional. The struct of the destination of asynchronous invocations.

maxAsyncEventAgeInSecondslong

Optional. The maximum validity period of a message. Valid values: [1,604800]. Default value: 86400. Unit: seconds.

300
maxAsyncRetryAttemptslong

Optional. The maximum number of retries if an asynchronous invocation fails. Valid values: [0,8]. If you do not configure this parameter, the default number of retries is 3.

3