Skip to content

FunctionInvokerProps

Properties for defining a FunctionInvoker.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Fc3;
new FunctionInvokerProps {
    object FunctionName,
    object Async = null,
    object CheckAsyncInvocation = null,
    object CheckError = null,
    object Event = null,
    object ExecuteVersion = null,
    object Qualifier = null,
    object ServiceRegionId = null
};

Properties

Name Type Description
FunctionName object Property functionName: The name of the function.
Async object Property async: Whether to invoke the function asynchronously.
CheckAsyncInvocation object Property checkAsyncInvocation: Check async invocation setting.
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: The name of the function.


AsyncOptional

public object Async { get; set; }
  • Type: object

Property async: Whether to invoke the function asynchronously.


CheckAsyncInvocationOptional

public object CheckAsyncInvocation { get; set; }
  • Type: object

Property checkAsyncInvocation: Check async invocation setting.


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.