Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

guardian/sentimentalist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentimentalist

To deploy lambda

  1. Run sbt assembly
  2. Create new lambda function in AWS console
  3. In console, upload target/scala-2.12/sentimentalist-assembly-0.1.0-SNAPSHOT.jar to new lambda
  4. In console, set 'Handler' field to sentimentalist.lambda.BatchSentimentAnalystLambda::handle

The execution role of the lambda will need access to the Comprehend and S3 services.