FunctionInvokerProps
Properties for defining a FunctionInvoker.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-functioninvoker
Initializer
using AlibabaCloud.SDK.ROS.CDK.Fc;
new FunctionInvokerProps {
object FunctionName,
object ServiceName,
object Async = null,
object CheckError = null,
object Event = null,
object ExecuteVersion = null,
object Qualifier = null,
object ServiceRegionId = null
};
Properties
| Name | Type | Description |
|---|---|---|
FunctionName |
object |
Property functionName: Function name. |
ServiceName |
object |
Property serviceName: Service name. |
Async |
object |
Property async: Invocation type, Sync or Async. |
CheckError |
object |
Property checkError: Whether check error for function invocation result. |
Event |
object |
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 |
object |
Property executeVersion: If the property is not specified for creation and update, the function will not be invoked. |
Qualifier |
object |
Property qualifier: service version, can be versionId or aliasName. |
ServiceRegionId |
object |
Property serviceRegionId: Which region service belongs to. |
FunctionNameRequired
public object FunctionName { get; set; }
- Type: object
Property functionName: Function name.
ServiceNameRequired
public object ServiceName { get; set; }
- Type: object
Property serviceName: Service name.
AsyncOptional
public object Async { get; set; }
- Type: object
Property async: Invocation type, Sync or Async.
Defaults to Sync.
CheckErrorOptional
public object CheckError { get; set; }
- Type: object
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 object Event { get; set; }
- Type: object
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 object ExecuteVersion { get; set; }
- Type: object
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 object Qualifier { get; set; }
- Type: object
Property qualifier: service version, can be versionId or aliasName.
ServiceRegionIdOptional
public object ServiceRegionId { get; set; }
- Type: object
Property serviceRegionId: Which region service belongs to.