FunctionInvokerProps
Properties for defining a FunctionInvoker.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-functioninvoker
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkfc"
&alicloudroscdkfc.FunctionInvokerProps {
FunctionName: interface{},
ServiceName: interface{},
Async: interface{},
CheckAsyncInvocation: interface{},
CheckError: interface{},
Event: interface{},
ExecuteVersion: interface{},
Qualifier: interface{},
ServiceRegionId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
FunctionName | interface{} | Property functionName: Function name. |
ServiceName | interface{} | Property serviceName: Service name. |
Async | interface{} | Property async: Invocation type, Sync or Async. |
CheckAsyncInvocation | interface{} | Property checkAsyncInvocation: Check async invocation setting. |
CheckError | interface{} | Property checkError: Whether check error for function invocation result. |
Event | interface{} | 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 | interface{} | Property executeVersion: If the property is not specified for creation and update, the function will not be invoked. |
Qualifier | interface{} | Property qualifier: service version, can be versionId or aliasName. |
ServiceRegionId | interface{} | Property serviceRegionId: Which region service belongs to. |
FunctionNameRequired
FunctionName interface{}
- Type: interface{}
Property functionName: Function name.
ServiceNameRequired
ServiceName interface{}
- Type: interface{}
Property serviceName: Service name.
AsyncOptional
Async interface{}
- Type: interface{}
Property async: Invocation type, Sync or Async.
Defaults to Sync.
CheckAsyncInvocationOptional
CheckAsyncInvocation interface{}
- Type: interface{}
Property checkAsyncInvocation: Check async invocation setting.
CheckErrorOptional
CheckError interface{}
- Type: interface{}
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
Event interface{}
- Type: interface{}
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
ExecuteVersion interface{}
- Type: interface{}
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
Qualifier interface{}
- Type: interface{}
Property qualifier: service version, can be versionId or aliasName.
ServiceRegionIdOptional
ServiceRegionId interface{}
- Type: interface{}
Property serviceRegionId: Which region service belongs to.