This notebook goes over how to use theAmazon AWS Lambda
is a serverless computing service provided byAmazon Web Services
(AWS
). It helps developers to build and run applications and services without provisioning or managing servers. This serverless architecture enables you to focus on writing and deploying code, while AWS automatically takes care of scaling, patching, and managing the infrastructure required to run your applications.
AWS Lambda
Tool.
By including the AWS Lambda
in the list of tools provided to an Agent, you can grant your Agent the ability to invoke code running in your AWS Cloud for whatever purposes you need.
When an Agent uses the AWS Lambda
tool, it will provide an argument of type string which will in turn be passed into the Lambda function via the event parameter.
First, you need to install boto3
python package.
aws configure
in order to make use of the tool. For more detail, see here