8000 GitHub - viesti/nbb-lambda: Trying out nbb in AWS Lambda
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

viesti/nbb-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBB in AWS Lambda NodeJS runtime

# Install deps
$ npm install
# Package for deployment
$ zip -r function.zip .
# Create the function. First invocation seems to require a bit more timeout than the default 3 seconds
$ aws lambda create-function --function-name hello-nbb --role arn:aws:iam::xxxx:role/service-role/basic_execution --zip-file fileb://function.zip --runtime nodejs14.x --handler index.handler --timeout 10
# Invoke it
$ aws lambda invoke --function-name hello-nbb foo
# Check results
$ cat foo
{"hello":"world"}%

test image

About

Trying out nbb in AWS Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0