This release adds support for AWS Lambda tenant isolation mode.
https://aws.amazon.com/blogs/aws/streamlined-multi-tenant-application-development-with-tenant-isolation-mode-in-aws-lambda/
let runtime = LambdaRuntime {
(event: APIGatewayRequest, context: LambdaContext) -> APIGatewayResponse in
// Extract tenant ID from context
guard let tenantID = context.tenantID else {
return APIGatewayResponse(statusCode: .badRequest, body: "No Tenant ID provided")
}
...See Examples/MultiTenant for a full example.
What's Changed
SemVer Minor
Other Changes
- fix more links by @sebsto in #597
- Fix typo in readme by @sebsto in #599
- Fix broken links by @sebsto in #600
- Add Swift ServiceLifecycle section to the readme by @sebsto in #601
- Add scripts to measure cold start performance by @sebsto in #604
- Makes performance script run on macOS by @sebsto in #603
Full Changelog: 2.3.1...2.4.0