FunctionInvokerProps
Properties for defining a FunctionInvoker.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-functioninvoker
Initializer
import { FunctionInvokerProps } from '@alicloud/ros-cdk-fc'
const functionInvokerProps: FunctionInvokerProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
functionName |
string | @alicloud/ros-cdk-core.IResolvable |
Property functionName: Function name. |
serviceName |
string | @alicloud/ros-cdk-core.IResolvable |
Property serviceName: Service name. |
async |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property async: Invocation type, Sync or Async. |
checkError |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property checkError: Whether check error for function invocation result. |
event |
string | @alicloud/ros-cdk-core.IResolvable |
Property event: This value is passed to function as utf-8 encoded string.It’s function’s responsibility to interpret the value. If the value needs to be binary, encode it via base64 before passing to this property. |
executeVersion |
number | @alicloud/ros-cdk-core.IResolvable |
Property executeVersion: If the property is not specified for creation and update, the function will not be invoked. |
qualifier |
string | @alicloud/ros-cdk-core.IResolvable |
Property qualifier: service version, can be versionId or aliasName. |
serviceRegionId |
string | @alicloud/ros-cdk-core.IResolvable |
Property serviceRegionId: Which region service belongs to. |
functionNameRequired
public readonly functionName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property functionName: Function name.
serviceNameRequired
public readonly serviceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serviceName: Service name.
asyncOptional
public readonly async: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property async: Invocation type, Sync or Async.
Defaults to Sync.
checkErrorOptional
public readonly checkError: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property checkError: Whether check error for function invocation result.
If set true and function invocation result has error, the resource creation will be regard as failed. Default is false
eventOptional
public readonly event: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property event: This value is passed to function as utf-8 encoded string.It’s function’s responsibility to interpret the value. If the value needs to be binary, encode it via base64 before passing to this property.
executeVersionOptional
public readonly executeVersion: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property executeVersion: If the property is not specified for creation and update, the function will not be invoked.
The change of the property leads to the invoke of the function.
qualifierOptional
public readonly qualifier: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property qualifier: service version, can be versionId or aliasName.
serviceRegionIdOptional
public readonly serviceRegionId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serviceRegionId: Which region service belongs to.