Skip to main content

AWS Lambda Operations Reference

Orkes Conductor integrates with AWS Lambda to let you invoke and manage Lambda functions directly from your workflows. Once you configure the AWS Lambda integration, you can use the following operations to create, retrieve, update, and delete Lambda functions without leaving your workflow.

This page covers the parameters and expected output for each operation available in the AWS Lambda integration.

List Functions

Lists all Lambda functions in your AWS account.

ParameterDescriptionTypeRequired/Optional
Max ItemsMaximum number of functions to return. Defaults to 50.integerOptional.

Create Function

Creates a new Lambda function from a base64-encoded ZIP package.

ParameterDescriptionTypeRequired/Optional
Function NameName of the Lambda function to create.stringRequired.
RuntimeRuntime environment. For example, python3.12, nodejs20.x, java21.stringRequired.
RoleARN of the IAM role that Lambda assumes during execution.

To create one:
  1. Go to IAM > Roles > Create role.
  2. Select AWS service, choose Lambda, and click Next.
  3. Search for and attach AWSLambdaBasicExecutionRole, then click Next.
  4. Enter a role name, for example lambda-execution-role, and click Create role.
  5. Open the created role and copy the ARN. For example: arn:aws:iam::1234567890:role/lambda-execution-role.
stringRequired.
HandlerFunction entry point.

For example, index.lambda_handler for Python, index.handler for Node.js, or com.example.Handler::handleRequest for Java.
stringRequired.
Zip File Base 64Function code as a base64-encoded ZIP file.

Create a ZIP of your code, then run base64 -i function.zip | tr -d '\n' (Mac/Linux) or [Convert]::ToBase64String([IO.File]::ReadAllBytes("function.zip")) (Windows PowerShell) to get the encoded string.
stringRequired.
DescriptionA description of the function's purpose.stringOptional.
Memory SizeMemory allocated in MB (128–10240). Defaults to 128.integerOptional.
TimeoutMaximum execution time in seconds (1–900). Defaults to 3.integerOptional.
Environment VariablesKey-value pairs injected as environment variables, as a JSON string. For example, {"KEY":"value"}.stringOptional.

Get Function Details

Retrieves full configuration and code details of a specific Lambda function.

ParameterDescriptionTypeRequired/Optional
Function NameName of the Lambda function to retrieve.stringRequired.

Update Function Configuration

Updates the configuration of an existing Lambda function without redeploying code.

ParameterDescriptionTypeRequired/Optional
Function NameName of the Lambda function to update.stringRequired.
Memory SizeUpdated memory allocated in MB (128–10240).integerOptional.
TimeoutUpdated maximum execution time in seconds (1–900).integerOptional.
DescriptionUpdated description of the function's purpose.stringOptional.
Environment VariablesUpdated key-value pairs injected as environment variables, as a JSON string. For example, {"KEY":"value"}.stringOptional.

Invoke Function

Invokes a Lambda function synchronously or asynchronously with a JSON payload.

ParameterDescriptionTypeRequired/Optional
Function NameName of the Lambda function to invoke.stringRequired.
PayloadInput payload as a JSON string. For example, {"message": "Hello from Lambda!"}.stringRequired.
Invocation TypeThe invocation type for the request. Supported values:
  • RequestResponse for synchronous (waits for response)
  • Event for asynchronous (returns immediately)
Defaults to RequestResponse.
stringOptional.

Delete Function

Permanently deletes an existing Lambda function.

ParameterDescriptionTypeRequired/Optional
Function NameName of the Lambda function to delete.stringRequired.