Skip to main content

AWS Lambda Component

List and invoke AWS Lambda functions

Component key: aws-lambda

Description

AWS Lambda is an event-driven, serverless computing platform provided by Amazon as a part of Amazon Web Services. The AWS Lambda component allows you to manage and interact with AWS Lambda functions.

API Documentation: AWS Lambda Documentation

Connections

AWS Lambda Access Key and Secret

An AWS IAM access key pair is required to interact with AWS Lambda. Make sure that the key pair you generate in AWS has proper permissions to the Lambda functions you want to access. Read more about AWS Lambda permissions in the AWS docs.

AWS Role ARN

To enable the IAM role authentication begin by logging into the AWS Console and navigate to Identity and Access Management (IAM).

To create an ARN user and generate credentials:

  1. Navigate to Users and select Create User.
  • Provide a User name and check the box providing them user access to the AWS Managment Console if needed.
  • Once completed with the User creation, copy the ARN provided in the summary for a later step.
  1. To obtain the ARN for an existing User, click on the designated username from the Users page and the ARN will be provided in the summary section.
  2. From the summary section, select Create access key
  • Select Third-party service as the access key type and select next.
  • Set a description and select create access key.
  • Copy the Access Key and Secret access key and enter those into the connection configuration of your integration along with the ARN.

To create and assign a user a role:

  1. Navigate to Roles and select Create Role.
  • Select Custom Trust Policy for the Trusted entity types
  • Copy the following statement into the statement console. Making sure to replace the ARN with the user's actual ARN from the previous section
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "ARN"
},
"Action": "sts:AssumeRole"
}
]
}
  • When adding permissions provide the AWSLambda_FullAccess permission
  • Complete remaining steps and select Create Role

Actions

Invoke

Invoke an AWS Lambda function | key: invoke


List Function

List Information and metadata about all AWS Lambda functions | key: listFunctions