aws-lambda-go-bootstrap

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2025 License: MIT Imports: 4 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL