Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 457 Bytes

File metadata and controls

13 lines (8 loc) · 457 Bytes

AWS Lambda Function Error handling example

This example shows how to return a custom error type for unexpected failures.

Build & Deploy

  1. Install cargo-lambda
  2. Build the function with cargo lambda build --release
  3. Deploy the function to AWS Lambda with cargo lambda deploy --iam-role YOUR_ROLE

Build for ARM 64

Build the function with cargo lambda build --release --arm64