Files
swift-aws-lambda-runtime/Sources/AWSLambdaRuntime
Sébastien Stormacq e1e4a15c14 Add logGroupName and logStreamName to LambdaContext (follow up) (#664)
Add logGroupName and logStreamName to LambdaContext (#664)

## Summary
- Adds `logGroupName` and `logStreamName` properties to `LambdaContext`,
read from `AWS_LAMBDA_LOG_GROUP_NAME` and `AWS_LAMBDA_LOG_STREAM_NAME`
environment variables
- Values are read once at runtime initialization (not on every access)
and stored as properties, consistent with how other static config is
handled
- Matches behavior of Python, Node.js, Java, Go, and other AWS Lambda
runtimes

Closes #662

## Test plan
- [x] `swift build` compiles cleanly
- [x] `swift test --filter LambdaContextTests` — all 8 tests pass
- [x] Full test suite (140 tests) passes
2026-05-11 20:24:45 +02:00
..