Skip to content

AsyncInvokeConfigProps

Properties for defining a AsyncInvokeConfig.

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

Initializer

import { AsyncInvokeConfigProps } from '@alicloud/ros-cdk-fc3'
const asyncInvokeConfigProps: AsyncInvokeConfigProps = { ... }

Properties

Name Type Description
functionName string | @alicloud/ros-cdk-core.IResolvable Property functionName: Function name.
asyncTask boolean | @alicloud/ros-cdk-core.IResolvable Property asyncTask: Whether to enable asynchronous tasks (optional).
destinationConfig @alicloud/ros-cdk-core.IResolvable | DestinationConfigProperty Property destinationConfig: Configuration structure of asynchronous invocation target (optional).
maxAsyncEventAgeInSeconds number | @alicloud/ros-cdk-core.IResolvable Property maxAsyncEventAgeInSeconds: Maximum message survival time (optional), value range [1,604800], default is 86400, unit is seconds.
maxAsyncRetryAttempts number | @alicloud/ros-cdk-core.IResolvable Property maxAsyncRetryAttempts: Maximum number of retries after asynchronous invocation fails, optional.

functionNameRequired

public readonly functionName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property functionName: Function name.


asyncTaskOptional

public readonly asyncTask: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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


destinationConfigOptional

public readonly destinationConfig: IResolvable | DestinationConfigProperty;

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


maxAsyncEventAgeInSecondsOptional

public readonly maxAsyncEventAgeInSeconds: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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


maxAsyncRetryAttemptsOptional

public readonly maxAsyncRetryAttempts: number | IResolvable;
  • Type: number | @alicloud/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.