AWS Lambda
Invoke AWS Lambda functions from your workflow
This node signs in with a credential: AWS Signature V4. See Connect a credential.
Actions
Steps this node can perform. Add one from Add a step, then pick the action.
Invoke Lambda Function
Invoke an AWS Lambda function with the specified payload
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Function Name | Choice (loaded from your account) | Yes | The name, ARN, or partial ARN of the Lambda function to invoke |
| Invocation Type | Choice | Yes | Choose how to invoke the Lambda function Options: Request Response (Synchronous), Event (Asynchronous / Fire and Forget), Dry Run (Validate parameters only)Default: RequestResponse |
| Payload | JSON | JSON payload to send to the Lambda function. Can be any valid JSON object. | |
| Qualifier (Version/Alias) | Text | Specify a version or alias to invoke a specific function version. Leave empty for $LATEST. | |
| Log Type | Choice | Set to 'Tail' to include execution logs in the response (only for RequestResponse) Options: None, Tail (Include last 4KB of logs)Default: None | |
| Client Context | Text | Base64-encoded client context data to pass to the Lambda function (max 3583 bytes) |
Output
Later steps use this data by picking this step in the $ picker. For example, statusCode is $.<step ID>.output.statusCode.
{
"statusCode": 0,
"payload": "string",
"functionError": "string",
"executedVersion": "string",
"logResult": "string",
"requestId": "string"
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
statusCode | Number | HTTP status code from Lambda invocation |
payload | any | Response payload from the Lambda function |
functionError | Text | Error type if the function returned an error (Handled or Unhandled) |
executedVersion | Text | The version of the function that was executed |
logResult | Text | Base64-encoded last 4KB of execution log (only for RequestResponse with LogType=Tail) |
requestId | Text | Unique request ID for the invocation |
List Lambda Functions
List all Lambda functions in the AWS account
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Max Items | Number | Maximum number of functions to return (1-10000) Default: 50 |
Output
Later steps use this data by picking this step in the $ picker. For example, count is $.<step ID>.output.count.
{
"count": 0,
"functions": [
{
"functionName": "string",
"functionArn": "string",
"runtime": "string",
"description": "string",
"lastModified": "string"
}
]
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
count | Number | |
functions[] | List | |
functions[].functionName | Text | The name of the Lambda function |
functions[].functionArn | Text | The Amazon Resource Name (ARN) of the function |
functions[].runtime | Text | The runtime environment for the Lambda function |
functions[].description | Text | The description of the function |
functions[].lastModified | Text | The date and time that the function was last modified |