AsyncInvokeConfigProps
Properties for defining a AsyncInvokeConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-asyncinvokeconfig
Initializer
import ros_cdk_fc3
ros_cdk_fc3.AsyncInvokeConfigProps(
function_name: typing.Union[str, IResolvable],
async_task: typing.Union[bool, IResolvable] = None,
destination_config: typing.Union[IResolvable, DestinationConfigProperty] = None,
max_async_event_age_in_seconds: typing.Union[typing.Union[int, float], IResolvable] = None,
max_async_retry_attempts: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
function_name | typing.Union[str, ros_cdk_core.IResolvable] | Property functionName: Function name. |
async_task | typing.Union[bool, ros_cdk_core.IResolvable] | Property asyncTask: Whether to enable asynchronous tasks (optional). |
destination_config | typing.Union[ros_cdk_core.IResolvable, DestinationConfigProperty] | Property destinationConfig: Configuration structure of asynchronous invocation target (optional). |
max_async_event_age_in_seconds | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property maxAsyncEventAgeInSeconds: Maximum message survival time (optional), value range [1,604800], default is 86400, unit is seconds. |
max_async_retry_attempts | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property maxAsyncRetryAttempts: Maximum number of retries after asynchronous invocation fails, optional. |
function_nameRequired
function_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property functionName: Function name.
async_taskOptional
async_task: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property asyncTask: Whether to enable asynchronous tasks (optional).
destination_configOptional
destination_config: typing.Union[IResolvable, DestinationConfigProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, DestinationConfigProperty]
Property destinationConfig: Configuration structure of asynchronous invocation target (optional).
max_async_event_age_in_secondsOptional
max_async_event_age_in_seconds: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property maxAsyncEventAgeInSeconds: Maximum message survival time (optional), value range [1,604800], default is 86400, unit is seconds.
max_async_retry_attemptsOptional
max_async_retry_attempts: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.