AWS Lambda

AWS Lambda is an event-driven, serverless computing platform provided by Amazon Web Services (AWS). It runs your code in response to events and automatically manages the compute resources, making it the fastest way to turn an idea into a modern, production, serverless application. This document describes how to connect IBM watsonx Orchestrate to AWS Lambda and use its skills on watsonx Orchestrate.

Connecting to AWS Lambda

Connect to the app according to the credential type that you or your team want to use.

If you want to connect the app to the Orchestrate Agent skill set, skill sets from AI assistants, or the Team skill set with Team credentials, refer to Managing app connections.

If you want to connect to the app to the Personal skill set or the Team skill set with Member credentials, refer to Connecting to apps.

Configuring the connection

To connect watsonx Orchestrate to AWS Lambda, complete the following steps:

  1. Fill all fields needed to establish the connection.
    1. Specify the Secret access key and Access key ID, you can get the details on the Security Credentials page in the AWS Management Console.
    2. On Region, set the region where the server hosting your AWS Lambda is located.
  2. Click Connect app.
Note: The icon A green check icon appears to show that the app is connected. indicates that the connection was successfully established.

Technical parameters

The following table contains the technical parameters required by some skills of this app and instructions to retrieve them.

Parameters Details
function arn Is a unique Amazon Resource Name (ARN) to identify the specific version of the function. See AWS Lambda developer guide for more details.
Qualifier Specify a version or alias to get details of or start a published version of the function. For the Delete operation, specify only the version. You can't delete a version referred by an alias.
Client context The context object can contain up to 3583 bytes of base64-encoded data about the starting client that is passed to the function.
Invocation type You can either select RequestResponse or Event.
Log type You can either select Tail or None. Setting the Log type to Tail includes the execution log in the response. This option is only applicable to synchronously started functions.

What to do next

After you connect to the app, you can use the AWS Lambda skills. For more information see, Using the chat.

To learn about the available skills, see List of prebuilt apps, skills and skill flows.


Parent topic:

Connecting to apps