lambda-bootstrap
A minimal AWS Lambda function written in Go that always responds with 501 Not Implemented.
Intended as a stub, placeholder, or base for custom API Gateway integrations.
Features
- 🪶 Lightweight: Single
main.go
using aws-lambda-go
library
- 🔐 Safe default: Always returns HTTP 501 (Not Implemented)
- 🛠️ Ready to deploy: Compatible with
go1.x
Lambda runtime
- 🤖 Ideal for scaffolding serverless APIs or mocking endpoints
Example Response
HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Not Implemented
Getting Started
Build
GOOS=linux GOARCH=amd64 go build -o bootstrap main.go
zip bootstrap.zip bootstrap
Deploy
You can deploy via AWS Console, CLI, or infrastructure-as-code:
aws lambda create-function \
--function-name not-implemented \
--runtime provided.al2 \
--role arn:aws:iam::123456789012:role/your-execution-role \
--zip-file fileb://bootstrap.zip
License
MIT ? 2025 Mikhail Lukianchenko and anonymous LLM agents