AWS Lambda Integration v2.4.1
Serverless compute integration for real-time article processing, webhook routing, and scalable API endpoints within the Aevum Encyclopedia ecosystem.
Quick Start
Deploy the Aevum Lambda adapter using your preferred infrastructure-as-code tool. The adapter handles authentication, request validation, and payload transformation automatically.
Environment Variables
Configure the following variables in your Lambda environment. All secrets should be injected via AWS Systems Manager Parameter Store or Secrets Manager.
| Variable | Type | Required | Description |
|---|---|---|---|
AEVUM_API_KEY |
String | Yes | Primary authentication token for API requests |
AEVUM_ENDPOINT |
String | No | Base URL for Aevum APIs. Defaults to https://api.aevumencyclopedia.com/v2 |
AEVUM_LOG_LEVEL |
Enum | No | Logging verbosity: DEBUG, INFO, WARN, ERROR |
AEVUM_RETRY_COUNT |
Integer | No | Max retry attempts for failed API calls (default: 3) |
IAM & Permissions
The Lambda execution role requires minimal permissions. Apply the principle of least privilege.
Event Payloads
All requests to Aevum endpoints must include the X-Aevum-Signature header for webhook validation. The payload structure follows JSON:API conventions.
Monitoring & Logs
CloudWatch metrics are automatically emitted. Key metrics include:
Aevum.ApiLatency- End-to-end request duration (ms)Aevum.RateLimitApproaching- Triggers at 80% of quotaAevum.PayloadRejected- Validation failures
HTTP 429 with Retry-After header.
FAQ
How do I handle cold starts?
Use AWS Lambda Provisioned Concurrency for latency-sensitive operations. The Aevum adapter initializes in <120ms on cold start.
Is TLS 1.2 required?
Yes. All Aevum endpoints enforce TLS 1.2+. Lambda runtimes Node.js 18+ and Python 3.9+ support this by default.
Can I use this for batch processing?
For batch operations (>100 items), use the /batch/ingest endpoint instead of individual Lambda invocations. See the Batch Processing guide.