Invoking Lambda Function As Action
To invoke a Lambda function as an action for AWS Adapter:
-
Click Definitions > Actions > Lambda on the Navigation pane to display Action Definition: Lambda (Create Mode).
-
Specify the information to define the Lambda action:
-
Action Name – Enter the name that describes Lambda action.
-
Owner – Click the owner of the AWS Lambda. The user must have the appropriate AWS authority for the operation.
-
-
Specify this information on the Lambda Action tab:
-
Connection – Choose the active AWS connection to trigger the action.
-
Region – Choose a region from the list of regions available in the AWS Cloud.
-
Function Name – Choose a Lambda function from the list containing functions available based on the selected region.
-
Client Context – In this optional field, specify the client specific information for the Lambda function. The client context JSON must be base 64-encoded. This field is optional.
-
Invocation Type – This field is optional. By default, RequestResponse is selected to send the response. To perform asynchronous request processing, choose the Event. To validate the input, choose DryRun only if the caller is authorized to invoke the Lambda function.
-
Log Type – This field is optional. Choose None or Tail as the log type. If the log type is set as Tail, the AWS Lambda returns the base 64-encoded last 4 KB of log data produced by the Lambda function. The Tail option appears, only when RequestResponse is chosen as the Invocation Type.
-
Qualifier – This field is optional. Specify a Lambda Function Version or an alias name. The maximum length of the qualifier is 128. If you specify a function version, the qualified function ARN is used to invoke the specific Lambda function. If you specify an alias name, the alias ARN is used to invoke the Lambda function version to which the alias is pointing. If this parameter is not used, the unqualified function ARN which invokes the $LATEST version is used.
-
Request Body – This field is optional. Specify the JSON code that is provided to the Lambda function as input.
-
-
Click OK to invoke the Lambda action.