PutLambda
Description
Sends the contents to a specified Amazon Lambda Function. The AWS credentials used for authentication must have permissions execute the Lambda function (lambda:InvokeFunction).The FlowFile content must be JSON.
Tags
amazon, aws, lambda, put
Properties
In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Amazon Lambda Name * | Amazon Lambda Name | The Lambda Function Name | ||
Amazon Lambda Qualifier (version) * | Amazon Lambda Qualifier (version) | $LATEST | The Lambda Function Version | |
Region * | Region | US West (Oregon) |
| |
AWS Credentials Provider Service * | AWS Credentials Provider service | Controller Service: AWSCredentialsProviderService Implementations: AWSCredentialsProviderControllerService | The Controller Service that is used to obtain AWS credentials provider | |
Communications Timeout * | Communications Timeout | 30 secs | ||
Proxy Configuration Service | proxy-configuration-service | Controller Service: ProxyConfigurationService Implementations: StandardProxyConfigurationService | Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP + AuthN | |
Endpoint Override URL | Endpoint Override URL | Endpoint URL to use instead of the AWS default including scheme, host, port, and path. The AWS libraries select an endpoint URL based on the AWS region, but this property overrides the selected endpoint URL, allowing use with other S3-compatible endpoints. Supports Expression Language, using Environment variables. |
Dynamic Properties
This component does not support dynamic properties.
Relationships
Name | Description |
---|---|
failure | FlowFiles are routed to failure relationship |
success | FlowFiles are routed to success relationship |
Reads Attributes
This processor does not read attributes.
Writes Attributes
Name | Description |
---|---|
aws.lambda.exception.cause | Exception cause on invoking from AWS Lambda |
aws.lambda.exception.error.code | Exception error code on invoking from AWS Lambda |
aws.lambda.exception.message | Exception message on invoking from AWS Lambda |
aws.lambda.exception.request.id | Exception request id on invoking from AWS Lambda |
aws.lambda.exception.status.code | Exception status code on invoking from AWS Lambda |
aws.lambda.result.function.error | Function error message in result on posting message to AWS Lambda |
aws.lambda.result.log | Log in the result of the message posted to Lambda |
aws.lambda.result.payload | Payload in the result from AWS Lambda |
aws.lambda.result.status.code | Status code in the result for the message when posting to AWS Lambda |
State Management
This component does not store state.
Restricted
This component is not restricted.
Input Requirement
This component requires an incoming relationship.
System Resource Considerations
This component does not specify system resource considerations.