---
title: Amazon AWS Lambda
slug: connectors/amazon-aws-lambda
docTags: 
createdAt: 2026-06-09T16:29:48.516Z
---

AWS Lambda is a serverless compute service that runs code in response to events and automatically manages the underlying compute resources.

Amazon AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers. This connector allows Swimlane Turbine users to automate the invocation of AWS Lambda functions, either synchronously or asynchronously, enhancing security workflows with seamless integration. By leveraging AWS Lambda, users can execute code in response to triggers such as changes in data or system state, enabling rapid and scalable automation within their security operations. The integration with Swimlane Turbine empowers users to streamline processes, reduce manual intervention, and improve response times to security incidents.

## Prerequisites

Before you can use the AWS Lambda connector for Turbine, you'll need access to AWS credentials. This requires the following:

- AWS authentication using the following parameters:
  - Access Key ID: A unique identifier associated with your AWS account.
  - Secret Key: A secret key used in conjunction with the Access Key ID to authenticate requests.
  - Region Name: The AWS region where your Lambda function is deployed.
  - ARN Role: The Amazon Resource Name (ARN) of the role that grants permissions to invoke the Lambda function.

## Getting Started

Before you begin, ensure you meet the following prerequisites:

- You must have a valid AWS account.
- AWS Access Key and Secret Access Key are required.
- You must have the correct Role ARN which Lambda function can assume.
- Your AWS account should have the necessary permissions to invoke Lambda functions. These permissions include `lambda:InvokeFunction`.
- AWS Region should be specified where the Lambda function is deployed.

## Key Features

The AWS Lambda Connector offers a powerful set of capabilities aimed at simplifying your operations:

1. **Invoke Function:** This feature allows you to call your Lambda functions synchronously. You only need to provide the name of the Lambda function you want to invoke, along with any input parameters your function requires.

Please note that your ability to use these features effectively may depend on the permissions and access rights tied to your AWS account. Always ensure that your account has sufficient privileges for the operations you wish to carry out.

## Additional Documentation

- [Amazon AWS Lambda Connector Documentation](https://docs.swimlane.com/connectors/amazon-aws-lambda)
- [Amazon AWS Lambda API Documentation](https://docs.aws.amazon.com/lambda/latest/api/welcome.html)
- [Amazon AWS Lambda Authentication Guide](https://docs.swimlane.com/authentication-guides/amazon-aws-lambda)

# Configurations

## AWS SQS

Authenticates using AWS credentials

### Configuration Parameters

| **Parameter**            | **Description**                                         | **Type** | **Required** |
| ------------------------ | ------------------------------------------------------- | -------- | ------------ |
| aws\_access\_key\_id     | A specific AWS access key ID                            | string   | Required     |
| aws\_secret\_access\_key | A specific AWS secret access key                        | string   | Required     |
| region\_name             | The AWS Region where you want to create new connections | string   | Required     |
| role\_arn                | ARN Role                                                | string   | Required     |

# Actions

## Invoke Function

Invoke an AWS Lambda function either synchronously or asynchronously. Requires the FunctionName parameter.

### Endpoint

- **Method:** `GET`

### Input

| **Argument Name** | **Type** | **Required** | **Description**               |
| ----------------- | -------- | ------------ | ----------------------------- |
| `FunctionName`    | string   | Required     | Name of the resource          |
| `InvocationType`  | string   | Optional     | Type of the resource          |
| `LogType`         | string   | Optional     | Type of the resource          |
| `ClientContext`   | string   | Optional     | Parameter for Invoke Function |
| `Payload`         | string   | Optional     | Parameter for Invoke Function |
| `Qualifier`       | string   | Optional     | Parameter for Invoke Function |

### Input Example

`{"FunctionName":"Example Name","InvocationType":"string","LogType":"string","ClientContext":"string","Payload":"string","Qualifier":"string"}`

### Output

| **Parameter**                                                 | **Type** | **Description**               |
| ------------------------------------------------------------- | -------- | ----------------------------- |
| `ResponseMetadata`                                            | object   | Response data                 |
| `ResponseMetadata.RequestId`                                  | string   | Response data                 |
| `ResponseMetadata.HTTPStatusCode`                             | number   | Response data                 |
| `ResponseMetadata.HTTPHeaders`                                | object   | Response data                 |
| `ResponseMetadata.HTTPHeaders.date`                           | string   | Response data                 |
| `ResponseMetadata.HTTPHeaders.content-type`                   | string   | Response data                 |
| `ResponseMetadata.HTTPHeaders.content-length`                 | string   | Response data                 |
| `ResponseMetadata.HTTPHeaders.connection`                     | string   | Response data                 |
| `ResponseMetadata.HTTPHeaders.x-amzn-requestid`               | string   | Response data                 |
| `ResponseMetadata.HTTPHeaders.x-amzn-remapped-content-length` | string   | Response data                 |
| `ResponseMetadata.HTTPHeaders.x-amz-executed-version`         | string   | Response data                 |
| `ResponseMetadata.HTTPHeaders.x-amzn-trace-id`                | string   | Response data                 |
| `ResponseMetadata.RetryAttempts`                              | number   | Response data                 |
| `StatusCode`                                                  | number   | Status value                  |
| `ExecutedVersion`                                             | string   | Output field: ExecutedVersion |
| `Payload`                                                     | string   | Output field: Payload         |

### Output Example

`{"ResponseMetadata":{"RequestId":"ebbf575c-86fc-487d-89ee-1cd9c9d38079","HTTPStatusCode":200,"HTTPHeaders":{"date":"Thu, 01 Jun 2023 20:02:35 GMT","content-type":"application/json","content-length":"4","connection":"keep-alive","x-amzn-requestid":"ebbf575c-86fc-487d-89ee-1cd9c9d38079","x-amzn-remapped-content-length":"0","x-amz-executed-version":"$LATEST","x-amzn-trace-id":"root=1-6478f95b-68f01d673227806e48f25f6b;sampled=0"},"RetryAttempts":0},"StatusCode":200,"ExecutedVersion":"$LATEST","Paylo...`

# Response Headers

| **Header**   | **Description**                                       | **Example**                   |
| ------------ | ----------------------------------------------------- | ----------------------------- |
| Content-Type | The media type of the resource                        | application/json              |
| Date         | The date and time at which the message was originated | Thu, 01 Jan 2024 00:00:00 GMT |
