Invoke AWS Lambda Function
Invoke an AWS Lambda function and wait for its result.
Category: Other
Invoke AWS Lambda function '<<LambdaFunctionName>>'
To use this activity within the API, use an ActivityCode of INVOKE-AWS-LAMBDA.
Example JSON
An example of what the Task Config would look like for a task using this activity. Some of these variables would be set at the group level to avoid duplication between tasks.
{
"LambdaFunctionName": ""
}
Variable Reference
The following variables are supported:
IsFederated(Optional) - Makes task available to other Insight Factories within this organisation.LambdaFunctionName(Required) - Name or ARN of the Lambda function to invoke, optionally with a version or alias. It must be in the same AWS account and region as the Insight Factory.LambdaFunctionPayload(Optional) - JSON payload to invoke the function with. Leave empty to send the task's configuration, including TaskRunKey.Links(Optional)MaximumNumberOfAttemptsAllowed(Optional) - The total number of times the running of this Task can be attempted.MaximumRunTimeHours(Optional) - The maximum number of hours a task run is expected to take. If a run exceeds this duration it will be flagged as stuck.MinutesToWaitBeforeNextAttempt(Optional) - If a Task run fails, the number of minutes to wait before re-attempting the Task.