Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 23, 2025 9:31:16 AM
Feb 14, 2024 1:45:36 AM
The Amazon Lambda connector allows Qlik Automate in Qlik Cloud Services to easily launch Lambda functions, which simplifies data-driven automation.
Amazon Lambda runs code without maintaining servers, is triggered by events, and is charged solely for the time it takes.
This article explains how the Amazon Lambda connector in Qlik Automate can be used within Qlik Cloud.
Content:
By default, users and roles don't have permission to create or modify Lambda resources. They cannot perform tasks using the AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS API. To grant users permission to perform actions on the resources that they need, an IAM administrator can create IAM policies. The administrator can then add the IAM policies to roles, and users can assume the roles.
To learn how to create an IAM identity-based policy by using these sample JSON policy documents, see Creating IAM policies in the IAM User Guide.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "InvokeFunctions",
"Effect": "Allow",
"Action": [
"lambda:InvokeFunction",
"lambda:InvokeAsync"
],
"Resource": "*"
},
{
"Sid": "ListFunctions",
"Effect": "Allow",
"Action": "lambda:ListFunctions",
"Resource": "*"
}
]
}
The Amazon Lambda connector consists of the following blocks:
The Amazon Lambda connectors allow calling Lambda functions, programmable for diverse tasks including:
The Amazon Lambda connector allows you to write back App data to the source database. If clients do not have access to their firm's database, the company may offer an Amazon Lambda function. We can utilize the Amazon Lambda connector to call this function, which will then update the database.
Refer to How to build a write back solution with native Qlik Sense components and Qlik Automate for instructions on how to configure the writeback. In the automation, instead of using the JIRA connector.
Use the Amazon Lambda connector's Invoke Function block, as illustrated:
Using Github and Github Actions, see Move hydrated apps between tenants with third-party tools on how to migrate apps between tenants. Lambda functions allow us to accomplish comparable functionality.
Replace the "Github" blocks in the automation detailed in the aforementioned post with the "Invoke Function" block.
Include the following logic in the Lambda function:
External libraries are not supported by automation; however, you can use the Lambda function if a sophisticated transformation needs to be performed during the automation process and external libraries are needed.
You can adhere to the following in Automation: