Skip to content

tptodorov/aws-lambda-scalajs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-scalajs

Proof of Concept for building ScalaJS based Lambda functions. Currently AWS Lambda supports only JavaScript.

See:

  • src/main/scala/demo/awslambda/Demo.scala - some demo function objects
  • src/main/resources/lambda-exports.js - this exports ScalaJS function objects

See build.sbt for configuration details.

This projects contains two demo functions:

  • DemoSuccess - prints input arguments to console.
  • DemoFail - throws an exception and lambda function fails properly with an error message.

Upload all functions

This project uses [https://github.com/tptodorov/sbt-cloudformation] to setup deployment environment.

sbt staging:uploadFunctions

uploads functions with suffix -staging.

About

AWS Lambda written in ScalaJS. SBT tasks for easy building and uploading

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published