Skip to content

grandimk/rust-aws-lambda-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-aws-lambda-example

This is an example of an AWS Lambda function written in Rust. The function checks the existence of an user.

This repository is based on rust-aws-lambda.

Build:

cargo build --release --target x86_64-unknown-linux-musl

Package:

cp ./target/x86_64-unknown-linux-musl/release/rust-aws-lambda-user-exists ./bootstrap && zip lambda.zip bootstrap

Test:

docker run --rm -v "$PWD":/var/task lambci/lambda:provided handler '{"username": "tizio90"}'

About

Example of AWS Lambda in Rust: check if a user exists.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages