When you have all prerequisites ready, you can continue the installation as below. The commands in each steps are intended to run in Terminal or Git Bash only.
You must create a deployment package from the local Git project repository, which is uploaded for the Lambda function creation in a later step.
- Clone this project into the "guardduty" folder in your current local directory, and enter the project directory.
$ git clone https://github.com/fortinet/aws-lambda-guardduty.git guardduty
$ cd guardduty
- Install project dependencies.
$ npm install
- Build this project locally to create a deployment package .zip file. The file is located in ./dist/aws_lambda_guardduty.zip.
$ npm run build