LambdaConnector microservice invokes a function from the list of functions configured in Amazon Lambda service.
Get the Access Key ID and Secret Key from the AWS Management Console at https://console.aws.amazon.com/s3.
Configuration and Testing
Component Configuration
The figure below displays the Component Property Sheet (CPS) panel.
Error handling configuration
The remedial actions to be taken when a particular error occurs can be configured using this attribute.
Click the ellipsis button against this property to configure Error Handling properties for different types of errors. By default, the options Log to error logs, Stop service and Send to error port are enabled.
Refer the Error Handling section in Common Configurations for detailed information.
AWS Connection Details
Click the AWS Connection Details ellipsis button to configure the properties.
Access Key
Specify the Access Key id
Secret Key
Specify the Secret Key
Region
The region of AWS Management console.
Is PayLoad Json Object?
Check the option,if the request-data to be sent is of type Json.The configuration of the object to be sent is represented in json string format.
Lamda Function Name
Name of the function to be invoked from the list of functions configured in Amazon Lambda service
Response charset
Charset to be used in decoding the response obtained from the configured lambda function.
Functional Demonstration
Invoke a function named pythonTest via LamdaConnector. Configure Lamda Connector as described in the Configuration and testing section above and use the Feeder and Display microservices to send sample input and check the response respectively.
Output Message