Lambda connector

The Lambda connector is used to invoke Amazon Web Services (AWS) Lambda functions. The Lambda connector is graphically represented by the AWS Lambda logo under the OOTB Connectors menu whilst modeling a process.

Important: The Lambda connector requires an AWS account to access Amazon features.

The implementation value of the Lambda connector in a service task would be similar to the following:

<bpmn2:serviceTask id="ServiceTask_6thy7kl" implementation="lambdaConnector.INVOKE" />

Input parameters

The following are the parameters that can be passed to the Lambda connector as input parameters using the INVOKE action:

ParameterDescriptionTypeRequired?
functionThe name of the Lambda function to invokeStringYes
payloadThe payload that will be passed to the Lambda functionString or ObjectNo

Output parameters

The following are the parameters that are returned to the process by the Lambda connector as output parameters using the INVOKE action:

ParameterDescriptionType
lambdaPayloadThe Lambda function result payloadString
lambdaStatusThe Lambda function invocation status codeInteger
lambdaLogThe log produced during the function invocationString
lambdaErrorA list of errors if any are caught by the connector or the Lambda functionString

Configuration parameters

Values for configuration parameters that are specific to a connector instance can be set in the modeling application or during application deployment.

The following are the configuration parameters that need to be set for the Lambda connector:

ParameterDescriptionRequired?
AWS_LAMBDA_AWS_ACCESS_KEYThe access key to be used to authenticate against AWSYes
AWS_LAMBDA_AWS_SECRET_KEYThe secret key to be used to authenticate against AWSYes
AWS_LAMBDA_AWS_REGIONThe region of AWS to invoke the Lambda functions inYes
AWS_LAMBDA_LOGThe level of logging for the action, for example DEBUG, TRACE, ALL. The default value is INFONo

© 2023 Alfresco Software, Inc. All Rights Reserved.