chore(deps): bump sharp in /examples/nextjs-response-streaming (#800)
Bumps sharp from 0.32.6 to 0.35.0.
updated-dependencies:
- dependency-name: sharp dependency-version: 0.35.0 dependency-type: direct:production …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
AWS Lambda Web Adapter
A tool to run web applications on AWS Lambda
AWS Lambda Web Adapter allows developers to build web apps (http api) with familiar frameworks (e.g. Express.js, Next.js, Flask, SpringBoot, ASP.NET and Laravel, anything speaks HTTP 1.1/1.0) and run it on AWS Lambda. The same docker image can run on AWS Lambda, Amazon EC2, AWS Fargate, and local computers.
📖 Read the full User Guide
Features
Quick Start
Docker Images
Add one line to your Dockerfile:
Pre-compiled multi-arch images (x86_64 and arm64) are available at public.ecr.aws/awsguru/aws-lambda-adapter. Non-AWS base images may be used since the Runtime Interface Client ships with the Lambda Web Adapter.
👉 Docker Images guide
Zip Packages
arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:28arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:28AWS_LAMBDA_EXEC_WRAPPERto/opt/bootstraprun.sh👉 Zip Packages guide (includes AWS China region ARNs and Windows caveats)
Configurations
The readiness check port/path and traffic port can be configured using environment variables. These environment variables can be defined either within docker file or as Lambda function configuration.
PORT)AuthorizationAWS_LAMBDA_RUNTIME_APIto allow proxying request👉 Detailed configuration docs
Examples
👉 Examples organized by language
Acknowledgement
This project was inspired by several community projects.
Migrating from 0.x to 1.0
Environment Variables
All environment variables now use the
AWS_LWA_prefix. The old non-prefixed names still work but are deprecated and will be removed in version 2.0.READINESS_CHECK_PORTAWS_LWA_READINESS_CHECK_PORTREADINESS_CHECK_PATHAWS_LWA_READINESS_CHECK_PATHREADINESS_CHECK_PROTOCOLAWS_LWA_READINESS_CHECK_PROTOCOLREMOVE_BASE_PATHAWS_LWA_REMOVE_BASE_PATHASYNC_INITAWS_LWA_ASYNC_INITReadiness Check Health Status
AWS_LWA_READINESS_CHECK_MIN_UNHEALTHY_STATUShas been removed. UseAWS_LWA_READINESS_CHECK_HEALTHY_STATUSinstead, which accepts comma-separated codes and ranges:Similar Projects
Several projects also provide similar capabilities as language specific packages/frameworks.
Security
See SECURITY for vulnerability reporting and CONTRIBUTING for more information.
License
This project is licensed under the Apache-2.0 License.