Skip to content

AsyncInvokeConfigProps

Properties for defining a AsyncInvokeConfig.

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

Initializer

import com.aliyun.ros.cdk.fc3.AsyncInvokeConfigProps;
AsyncInvokeConfigProps.builder()
    .functionName(java.lang.String)
    .functionName(IResolvable)
//  .asyncTask(java.lang.Boolean)
//  .asyncTask(IResolvable)
//  .destinationConfig(IResolvable)
//  .destinationConfig(DestinationConfigProperty)
//  .maxAsyncEventAgeInSeconds(java.lang.Number)
//  .maxAsyncEventAgeInSeconds(IResolvable)
//  .maxAsyncRetryAttempts(java.lang.Number)
//  .maxAsyncRetryAttempts(IResolvable)
    .build();

Properties

Name Type Description
functionName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property functionName: Function name.
asyncTask java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property asyncTask: Whether to enable asynchronous tasks (optional).
destinationConfig com.aliyun.ros.cdk.core.IResolvable OR DestinationConfigProperty Property destinationConfig: Configuration structure of asynchronous invocation target (optional).
maxAsyncEventAgeInSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property maxAsyncEventAgeInSeconds: Maximum message survival time (optional), value range [1,604800], default is 86400, unit is seconds.
maxAsyncRetryAttempts java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property maxAsyncRetryAttempts: Maximum number of retries after asynchronous invocation fails, optional.

functionNameRequired

public java.lang.Object getFunctionName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property functionName: Function name.


asyncTaskOptional

public java.lang.Object getAsyncTask();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

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


destinationConfigOptional

public java.lang.Object getDestinationConfig();

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


maxAsyncEventAgeInSecondsOptional

public java.lang.Object getMaxAsyncEventAgeInSeconds();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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


maxAsyncRetryAttemptsOptional

public java.lang.Object getMaxAsyncRetryAttempts();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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.