aws-lambda-haskell-runtime: Haskell runtime for AWS Lambda

[ apache, aws, library ] [ Propose Tags ] [ Report a vulnerability ]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.1.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.6, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2, 4.2.2, 4.3.2
Change log ChangeLog.md
Dependencies aeson, aws-lambda-haskell-runtime, base (>=4.7 && <5), bytestring, case-insensitive, conduit, directory, filepath, microlens-platform, mtl, optparse-generic, process, template-haskell, text, uuid, wreq [details]
License Apache-2.0
Copyright 2018 The Agile Monkeys SL
Author Nikita Tchayka
Maintainer hackers@theagilemonkeys.com
Category AWS
Home page https://github.com/theam/aws-lambda-haskell-runtime#readme
Bug tracker https://github.com/theam/aws-lambda-haskell-runtime/issues
Source repo head: git clone https://github.com/theam/aws-lambda-haskell-runtime
Uploaded by NickSeagull at 2018-12-21T09:03:10Z
Distributions NixOS:4.3.2, Stackage:4.3.2
Reverse Dependencies 1 direct, 0 indirect [details]
Executables bootstrap
Downloads 9859 total (101 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-12-21 [all 1 reports]

Readme for aws-lambda-haskell-runtime-1.0.8

[back to package description]

Haskell Runtime for AWS Lambda

Hackage Linter CircleCI

This package provides a way of running Haskell projects on AWS Lambda.

Sample lambda function

stack new my-haskell-lambda https://github.com/theam/aws-lambda-haskell-runtime/raw/master/stack-template.hsfiles --resolver=lts-12.13 --omit-packages
cd my-haskell-lambda
stack docker pull

Then add

packages:
- .

extra-deps:
- aws-lambda-haskell-runtime-1.0.7

to your stack.yaml

Then run

make

Now you should have a build/function.zip file that you can upload to your lambda.

Lambda function configuration

When creating your lambda function you need to provide a layer with the Haskell runtime. We have deployed the layer to our AWS account, you can use it or deploy it to your own AWS account.

The ARN of the runtime layer is:

arn:aws:lambda:<YOUR REGION>:785355572843:layer:haskell-runtime:<VERSION>

The version of the layer may be different depending of the region, the current values are:

us-east-2 Other regions
13 5

Full user guide

Take a look at the Getting Started with the Haskell AWS Lambda Runtime guide.