Skip to content

AsyncInvokeConfigProps

Properties for defining a AsyncInvokeConfig.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-asyncinvokeconfig

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkfc3"
&alicloudroscdkfc3.AsyncInvokeConfigProps {
    FunctionName: interface{},
    AsyncTask: interface{},
    DestinationConfig: interface{},
    MaxAsyncEventAgeInSeconds: interface{},
    MaxAsyncRetryAttempts: interface{},
}

Properties

Name Type Description
FunctionName interface{} Property functionName: Function name.
AsyncTask interface{} Property asyncTask: Whether to enable asynchronous tasks (optional).
DestinationConfig interface{} Property destinationConfig: Configuration structure of asynchronous invocation target (optional).
MaxAsyncEventAgeInSeconds interface{} Property maxAsyncEventAgeInSeconds: Maximum message survival time (optional), value range [1,604800], default is 86400, unit is seconds.
MaxAsyncRetryAttempts interface{} Property maxAsyncRetryAttempts: Maximum number of retries after asynchronous invocation fails, optional.

FunctionNameRequired

FunctionName interface{}
  • Type: interface{}

Property functionName: Function name.


AsyncTaskOptional

AsyncTask interface{}
  • Type: interface{}

Property asyncTask: Whether to enable asynchronous tasks (optional).


DestinationConfigOptional

DestinationConfig interface{}
  • Type: interface{}

Property destinationConfig: Configuration structure of asynchronous invocation target (optional).


MaxAsyncEventAgeInSecondsOptional

MaxAsyncEventAgeInSeconds interface{}
  • Type: interface{}

Property maxAsyncEventAgeInSeconds: Maximum message survival time (optional), value range [1,604800], default is 86400, unit is seconds.


MaxAsyncRetryAttemptsOptional

MaxAsyncRetryAttempts interface{}
  • Type: interface{}

Property maxAsyncRetryAttempts: Maximum number of retries after asynchronous invocation fails, optional.

Value range [0,8]. When not configured, the default number of retries is 3.