# awslabs/swift-aws-lambda-runtime

Swift implementation of AWS Lambda Runtime

Repository: https://github.com/awslabs/swift-aws-lambda-runtime
Canonical: https://ross.abutalabs.com/products/swift-aws-lambda-runtime
Homepage: https://swiftpackageindex.com/awslabs/swift-aws-lambda-runtime
Language: Swift
License: Apache-2.0
License Family: permissive
Last push: 2026-07-29T06:14:47+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 90, longevity 100
- inputs: {"age_days": 2374, "days_push": 35, "days_rel": 65, "gap_med": 7.0, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1235, forks 115 (observed 2026-08-28T04:04:04.878466+00:00)

## What it is
A Swift implementation of the AWS Lambda Runtime API for developing and deploying Lambda functions written in Swift. It uses an embedded asynchronous HTTP client based on SwiftNIO and offers a layered API from simple closures to complex, performance-sensitive event handlers.

## Use cases
- write AWS Lambda functions in Swift
- deploy Swift serverless functions to AWS
- handle AWS service events in Lambda handlers
- stream responses from Lambda functions
- test Lambda functions locally
- build performance-sensitive event handlers in Swift

## When to choose
- your team writes Swift and wants serverless functions on AWS Lambda
- you need a custom Lambda runtime with async SwiftNIO-based HTTP handling
- you want SwiftPM plugins and tooling for building and deploying Lambda functions

## When to avoid
- you use a language with first-class Lambda support like Python, Node.js, or Go
- you are not deploying to AWS Lambda
- you need a general-purpose web server rather than a Lambda runtime

## Facets
- artifact type: library
- maturity: active
- function: http-client, middleware, deployment, serverless
- domain: cloud-computing, backend, developer-tools, apis
- platform: cloud, serverless
- tags: aws-lambda, swift-nio, swift-package-manager, serverless-computing, aws, swift, linux, docker

## Member repositories
- awslabs/swift-aws-lambda-runtime (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:04.878466+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:04.012496+00:00, confidence not recorded.
  - readme: https://github.com/awslabs/swift-aws-lambda-runtime (fetched 2026-08-28T04:04:04.878466+00:00, sha d46c611b1ae4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
