Create AWS Lambda plugin plugin procedures

1 minute readExtensibilityDeveloper productivity

Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.

CreateLambdaFunction

Creates AWS Lambda functions using the AWS SDK. For more information about AWS Lambda functions, visit the AWS Lambda Console.

Input parameters

Table 1. CreateLambdaFunction input parameters
Parameter Description

Configuration name

Required. The previously defined configuration for the plugin.

Function name

Required. AWS Lambda function name to create.

Runtime name

Required. Runtime name for the Lambda function. For example, python3.7.

Path to deployment package archive

Required. Archive file with the Lambda function code. May be created manually or exported from the AWS Lambda console.

Lambda handler

Required. Handler to use to invoke the Lambda function invocation. For example, if your archive file is lambda_file and lambda function is main, the handler is lambda_file.main.

AWS role

Required. Amazon Resource Name (ARN) of the AWS role to use for AWS Lambda execution. This role must have sufficient permissions.

RunLambdaFunction

Runs AWS Lambda functions.

Input parameters

Table 2. RunLambdaFunction input parameters
Parameter Description

Configuration name

Required. The previously defined configuration for the plugin.

Function name

Required. AWS Lambda function name to create. For more information on AWS Lambda functions, visit the AWS Console.

Function parameters

Parameters in JSON format to pass to the AWS Lambda function. These parameters are available through event object.

Success criteria

Required. Procedure result returned by the Lambda function to indicate success status. If Is regex? is selected, this value is treated as a regular expression.

Is regex?

If selected, the Success criteria field is treated as a regular expression.