AWS Lambda
Discover more about the AWS Lambda connector and how to use it on the Digibee Integration Platform.
Important information:
This documentation is currently available only in English but will soon be translated into Portuguese.
The content is under revision and may change. We appreciate your understanding as we work to improve the documentation.
Manage and invoke AWS Lambda functions using AWS SDK version 2.x.
Parameters
Take a look at the configuration options for the component. Parameters supported by Double Braces expressions are marked with (DB)
.
Required Tab
Parameter | Description | Default value | Data type |
---|---|---|---|
Dynamic Account | When activated, the connector will use the account dynamically. When deactivated, it’ll use the account statically. | false | boolean |
Account Name | The name of the account that is generated dynamically via the Store Account connector. | string | |
Account | Sets the account to be used by the connector. | N/A | account |
Function | Name of the Lambda function. | N/A | string |
Fail On Error | If true will stop pipeline with an error, if false will let the pipeline continue but the output will show a property success with value false | false | boolean |
Optional Tab
Parameter | Description | Default value | Data type |
---|---|---|---|
Operation | The operation to perform. It can be listFunctions, getFunction, createFunction, deleteFunction or invokeFunction | invokeFunction | string |
Override Endpoint | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | boolean |
Pojo Request | If we want to use a POJO request as body or not | false | boolean |
Region | The region in which Lambda client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You’ll need to use the name Region.EU_WEST_1.id() | N/A | string |
Trust All Certificates | If we want to trust all certificates in case of overriding the endpoint | false | boolean |
Uri Endpoint Override | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | N/A | string |
Headers Tab
Parameter | Description | Default value | Data type |
---|---|---|---|
CamelAwsLambdaOperation | The operation we want to perform. Override operation passed as query parameter | N/A | string |
CamelAwsLambdaS3Bucket | Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function. | N/A | string |
CamelAwsLambdaS3Key | The Amazon S3 object (the deployment package) key name you want to upload. | N/A | string |
CamelAwsLambdaS3ObjectVersion | The Amazon S3 object (the deployment package) version you want to upload. | N/A | string |
CamelAwsLambdaZipFile | The local path of the zip file (the deployment package). Content of zip file can also be put in Message body. | N/A | string |
CamelAwsLambdaDescription | The user-provided description. | N/A | string |
CamelAwsLambdaRole | The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. | N/A | string |
CamelAwsLambdaRuntime | The runtime environment for the Lambda function you are uploading. (nodejs, nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, odejs4.3-edge) | N/A | string |
CamelAwsLambdaHandler | The function within your code that Lambda calls to begin execution. For Node.js, it is the module-name.export value in your function. For Java, it can be package.class-name::handler or package.class-name. | N/A | string |
CamelAwsLambdaTargetArn | The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic. | N/A | string |
CamelAwsLambdaMemorySize | The memory size, in MB, you configured for the function. Must be a multiple of 64 MB. | N/A | number |
CamelAwsLambdaKMSKeyArn | The Amazon Resource Name (ARN) of the KMS key used to encrypt your function’s environment variables. If not provided, AWS Lambda will use a default service key. | N/A | string |
CamelAwsLambdaEnvironmentVariables | The key-value pairs that represent your environment’s configuration settings. | N/A | string |
CamelAwsLambdaPublish | This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation. | false | boolean |
CamelAwsLambdaTimeout | The function execution time at which Lambda should terminate the function. The default is 3 seconds. | N/A | number |
CamelAwsLambdaTags | The list of tags (key-value pairs) assigned to the new function. | N/A | string |
CamelAwsLambdaTracingConfig | Your function’s tracing settings (Active or PassThrough). | N/A | string |
CamelAwsLambdaSecurityGroupIds | If your Lambda function accesses resources in a VPC, a list of one or more security groups IDs in your VPC. | N/A | JSON |
CamelAwsLambdaSubnetIds | If your Lambda function accesses resources in a VPC, a list of one or more subnet IDs in your VPC. | N/A | JSON |
CamelAwsLambdaEventSourceArn | The Amazon Resource Name (ARN) of the event source. | N/A | string |
CamelAwsLambdaEventSourceBatchSize | The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. | N/A | number |
CamelAwsLambdaEventSourceUuid | The identifier of the event source mapping. | N/A | string |
CamelAwsLambdaResourceArn | The function’s Amazon Resource Name (ARN). | N/A | string |
CamelAwsLambdaResourceTags | A list of tags to apply to the function. | N/A | string |
CamelAwsLambdaResourceTagKeys | A list of tag keys to remove from the function. | N/A | JSON |
CamelAwsLambdaVersionDescription | A description for the version to override the description in the function configuration. | N/A | string |
CamelAwsLambdaVersionRevisionId | Only update the function if the revision ID matches the ID that’s specified. | N/A | string |
CamelAwsLambdaFunctionVersion | The function version to set in the alias | N/A | string |
CamelAwsLambdaAliasFunctionName | The function name of the alias | N/A | string |
CamelAwsLambdaAliasFunctionDescription | The function description to set in the alias | N/A | string |
Successful executions should output at least a property "success": true.
Last updated