Skip to content

FujiHaruka/deno-lambda-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno AWS Lambda Example

This is a simple and self-contained example for AWS Lambda using a compiled executable by Deno. We already have deno-lambda, a Deno runtime with a Lambda Layer, but this is an simple alternative to deploy a Deno script by compile it as a single executable.

Requirements

How to deploy

Compile the script into an executable.

deno compile --output lambda/handler --target x86_64-unknown-linux-gnu src/handler.ts

Then you can deploy by SAM CLI.

sam deploy --guided

Now you can test the Lambda function on AWS Console!

About

A self-contained example for AWS Lambda using a compiled executable by Deno

Resources

Stars

Watchers

Forks