diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fb6989c8..64803e18 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @awslabs/aws-lambda-adapter-maintainers \ No newline at end of file +* @aws/aws-lambda-tooling \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 183b8fe0..c9a1ff49 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,8 @@ edition = "2021" description = "Run web applications on AWS Lambda" keywords = ["AWS", "Lambda", "APIGateway", "ALB", "API"] license = "Apache-2.0" -homepage = "https://github.com/awslabs/aws-lambda-web-adapter" -repository = "https://github.com/awslabs/aws-lambda-web-adapter" +homepage = "https://github.com/aws/aws-lambda-web-adapter" +repository = "https://github.com/aws/aws-lambda-web-adapter" documentation = "https://docs.rs/lambda_web_adapter" categories = ["web-programming::http-server"] readme = "README.md" diff --git a/README.md b/README.md index 0d412eef..c585c905 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ AWS_LWA_READINESS_CHECK_HEALTHY_STATUS=100-399 Several projects also provide similar capabilities as language specific packages/frameworks. -- [Serverless Java Container](https://github.com/awslabs/aws-serverless-java-container) +- [Serverless Java Container](https://github.com/aws/serverless-java-container) - [Serverless Express](https://github.com/vendia/serverless-express) - [Serverless Python - Zappa](https://github.com/zappa/Zappa) - [Serverless Rails - Lamby](https://github.com/customink/lamby) diff --git a/docs/development.md b/docs/development.md index 0d97ec44..e985049f 100644 --- a/docs/development.md +++ b/docs/development.md @@ -1,6 +1,6 @@ ## How to build it? -AWS Lambda Web Adapter is written in Rust and based on [AWS Lambda Rust Runtime](https://github.com/awslabs/aws-lambda-rust-runtime). +AWS Lambda Web Adapter is written in Rust and based on [AWS Lambda Rust Runtime](https://github.com/aws/aws-lambda-rust-runtime). AWS Lambda executes functions in x86_64 Amazon Linux Environment. We need to compile the adapter to that environment. ### Clone the repo @@ -8,7 +8,7 @@ AWS Lambda executes functions in x86_64 Amazon Linux Environment. We need to com First, clone this repo to your local computer. ```shell -$ git clone https://github.com/awslabs/aws-lambda-web-adapter.git +$ git clone https://github.com/aws/aws-lambda-web-adapter.git $ cd aws-lambda-web-adapter ``` @@ -83,7 +83,7 @@ When these commands complete successfully, you will have the following container ### Testing -Please test with the following [commands](https://github.com/awslabs/aws-lambda-web-adapter/blob/ff2dc8bddd968e74d7dc2ec56a249c56e5a3c5a7/.github/workflows/pipeline.yaml#L46-L49) before submitting a pull request: +Please test with the following [commands](https://github.com/aws/aws-lambda-web-adapter/blob/ff2dc8bddd968e74d7dc2ec56a249c56e5a3c5a7/.github/workflows/pipeline.yaml#L46-L49) before submitting a pull request: 1. `cargo fmt -- --check` 1. `cargo clippy -- -Dwarnings` 1. `cargo nextest run` diff --git a/docs/guide/book.toml b/docs/guide/book.toml index 64877af8..a24b4b22 100644 --- a/docs/guide/book.toml +++ b/docs/guide/book.toml @@ -11,7 +11,7 @@ build-dir = "../../docs-site" [output.html] default-theme = "light" preferred-dark-theme = "navy" -git-repository-url = "https://github.com/awslabs/aws-lambda-web-adapter" +git-repository-url = "https://github.com/aws/aws-lambda-web-adapter" git-repository-icon = "fa-github" site-url = "/aws-lambda-web-adapter/" additional-css = ["theme/custom.css"] diff --git a/docs/guide/src/configuration/response-streaming.md b/docs/guide/src/configuration/response-streaming.md index 0905a00f..688ac7d8 100644 --- a/docs/guide/src/configuration/response-streaming.md +++ b/docs/guide/src/configuration/response-streaming.md @@ -28,8 +28,8 @@ Response streaming is useful for: ## Examples -- [FastAPI with Response Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming) -- [FastAPI with Response Streaming in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-zip) -- [Next.js Response Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/nextjs-response-streaming) -- [SpringBoot Response Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/springboot-response-streaming-zip) -- [FastHTML with Response Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fasthtml-response-streaming) +- [FastAPI with Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming) +- [FastAPI with Response Streaming in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-zip) +- [Next.js Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/nextjs-response-streaming) +- [SpringBoot Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/springboot-response-streaming-zip) +- [FastHTML with Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fasthtml-response-streaming) diff --git a/docs/guide/src/development/building.md b/docs/guide/src/development/building.md index fda33cde..357771f4 100644 --- a/docs/guide/src/development/building.md +++ b/docs/guide/src/development/building.md @@ -1,6 +1,6 @@ # Building from Source -AWS Lambda Web Adapter is written in Rust and based on the [AWS Lambda Rust Runtime](https://github.com/awslabs/aws-lambda-rust-runtime). +AWS Lambda Web Adapter is written in Rust and based on the [AWS Lambda Rust Runtime](https://github.com/aws/aws-lambda-rust-runtime). ## Prerequisites @@ -10,7 +10,7 @@ AWS Lambda Web Adapter is written in Rust and based on the [AWS Lambda Rust Runt ## Clone the Repository ```bash -git clone https://github.com/awslabs/aws-lambda-web-adapter.git +git clone https://github.com/aws/aws-lambda-web-adapter.git cd aws-lambda-web-adapter ``` diff --git a/docs/guide/src/examples/overview.md b/docs/guide/src/examples/overview.md index c4bbb60e..2413e607 100644 --- a/docs/guide/src/examples/overview.md +++ b/docs/guide/src/examples/overview.md @@ -6,87 +6,87 @@ The repository includes working examples for many popular web frameworks, packag | Example | Packaging | Streaming | |---------|-----------|-----------| -| [FastAPI](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi) | Docker | No | -| [FastAPI in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-zip) | Zip | No | -| [FastAPI Background Tasks](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-background-tasks) | Docker | No | -| [FastAPI Response Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming) | Docker | Yes | -| [FastAPI Response Streaming Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-zip) | Zip | Yes | -| [FastAPI Streaming on LMI](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-lmi) | Docker | Yes | -| [FastAPI Backend Streaming (IAM Auth)](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-backend-only-response-streaming) | Docker | Yes | -| [Flask](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/flask) | Docker | No | -| [Flask in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/flask-zip) | Zip | No | -| [FastHTML](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fasthtml) | Docker | No | -| [FastHTML in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fasthtml-zip) | Zip | No | -| [FastHTML Response Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fasthtml-response-streaming) | Docker | Yes | -| [FastHTML Response Streaming Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fasthtml-response-streaming-zip) | Zip | Yes | -| [Bedrock Agent FastAPI](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/bedrock-agent-fastapi) | Docker | No | -| [Bedrock Agent FastAPI Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/bedrock-agent-fastapi-zip) | Zip | No | +| [FastAPI](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi) | Docker | No | +| [FastAPI in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-zip) | Zip | No | +| [FastAPI Background Tasks](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-background-tasks) | Docker | No | +| [FastAPI Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming) | Docker | Yes | +| [FastAPI Response Streaming Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-zip) | Zip | Yes | +| [FastAPI Streaming on LMI](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-lmi) | Docker | Yes | +| [FastAPI Backend Streaming (IAM Auth)](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-backend-only-response-streaming) | Docker | Yes | +| [Flask](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/flask) | Docker | No | +| [Flask in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/flask-zip) | Zip | No | +| [FastHTML](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fasthtml) | Docker | No | +| [FastHTML in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fasthtml-zip) | Zip | No | +| [FastHTML Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fasthtml-response-streaming) | Docker | Yes | +| [FastHTML Response Streaming Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fasthtml-response-streaming-zip) | Zip | Yes | +| [Bedrock Agent FastAPI](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/bedrock-agent-fastapi) | Docker | No | +| [Bedrock Agent FastAPI Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/bedrock-agent-fastapi-zip) | Zip | No | ## JavaScript / TypeScript | Example | Packaging | Streaming | |---------|-----------|-----------| -| [Express.js](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/expressjs) | Docker | No | -| [Express.js in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/expressjs-zip) | Zip | No | -| [Next.js](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/nextjs) | Docker | No | -| [Next.js in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/nextjs-zip) | Zip | No | -| [Next.js Response Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/nextjs-response-streaming) | Docker | Yes | -| [SQS Express.js](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/sqs-expressjs) | Docker | No | -| [Remix](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/remix) | Docker | No | -| [Remix in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/remix-zip) | Zip | No | -| [SvelteKit SSR Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/sveltekit-ssr-zip) | Zip | No | -| [Bun GraphQL](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/bun-graphql-zip) | Zip | No | -| [Bun GraphQL Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/bun-graphql-streaming-zip) | Zip | Yes | +| [Express.js](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/expressjs) | Docker | No | +| [Express.js in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/expressjs-zip) | Zip | No | +| [Next.js](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/nextjs) | Docker | No | +| [Next.js in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/nextjs-zip) | Zip | No | +| [Next.js Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/nextjs-response-streaming) | Docker | Yes | +| [SQS Express.js](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/sqs-expressjs) | Docker | No | +| [Remix](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/remix) | Docker | No | +| [Remix in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/remix-zip) | Zip | No | +| [SvelteKit SSR Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/sveltekit-ssr-zip) | Zip | No | +| [Bun GraphQL](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/bun-graphql-zip) | Zip | No | +| [Bun GraphQL Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/bun-graphql-streaming-zip) | Zip | Yes | ## Java | Example | Packaging | Streaming | |---------|-----------|-----------| -| [SpringBoot](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/springboot) | Docker | No | -| [SpringBoot in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/springboot-zip) | Zip | No | -| [SpringBoot Response Streaming](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/springboot-response-streaming-zip) | Zip | Yes | -| [Javalin in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/javalin-zip) | Zip | No | +| [SpringBoot](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/springboot) | Docker | No | +| [SpringBoot in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/springboot-zip) | Zip | No | +| [SpringBoot Response Streaming](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/springboot-response-streaming-zip) | Zip | Yes | +| [Javalin in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/javalin-zip) | Zip | No | ## .NET | Example | Packaging | Streaming | |---------|-----------|-----------| -| [ASP.NET MVC](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/aspnet-mvc) | Docker | No | -| [ASP.NET MVC in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/aspnet-mvc-zip) | Zip | No | -| [ASP.NET Web API Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/aspnet-webapi-zip) | Zip | No | +| [ASP.NET MVC](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/aspnet-mvc) | Docker | No | +| [ASP.NET MVC in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/aspnet-mvc-zip) | Zip | No | +| [ASP.NET Web API Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/aspnet-webapi-zip) | Zip | No | ## Rust | Example | Packaging | Streaming | |---------|-----------|-----------| -| [Actix Web in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/rust-actix-web-zip) | Zip | No | -| [Axum in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/rust-axum-zip) | Zip | No | +| [Actix Web in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/rust-actix-web-zip) | Zip | No | +| [Axum in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/rust-axum-zip) | Zip | No | ## Go | Example | Packaging | Streaming | |---------|-----------|-----------| -| [Gin](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/gin) | Docker | No | -| [Gin in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/gin-zip) | Zip | No | -| [Go HTTP Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/go-http-zip) | Zip | No | +| [Gin](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/gin) | Docker | No | +| [Gin in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/gin-zip) | Zip | No | +| [Go HTTP Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/go-http-zip) | Zip | No | ## Other Languages | Example | Packaging | Streaming | |---------|-----------|-----------| -| [Nginx](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/nginx) | Docker | No | -| [Nginx in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/nginx-zip) | Zip | No | -| [PHP](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/php) | Docker | No | -| [PHP in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/php-zip) | Zip | No | -| [Deno Oak in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/deno-zip) | Zip | No | -| [Ruby Sinatra](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/sinatra) | Docker | No | +| [Nginx](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/nginx) | Docker | No | +| [Nginx in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/nginx-zip) | Zip | No | +| [PHP](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/php) | Docker | No | +| [PHP in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/php-zip) | Zip | No | +| [Deno Oak in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/deno-zip) | Zip | No | +| [Ruby Sinatra](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/sinatra) | Docker | No | ## Observability | Example | Packaging | |---------|-----------| -| [Datadog](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/datadog) | Docker | -| [Datadog in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/datadog-zip) | Zip | +| [Datadog](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/datadog) | Docker | +| [Datadog in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/datadog-zip) | Zip | ## Community Examples diff --git a/docs/guide/src/features/base-path-removal.md b/docs/guide/src/features/base-path-removal.md index a8759401..48a621ee 100644 --- a/docs/guide/src/features/base-path-removal.md +++ b/docs/guide/src/features/base-path-removal.md @@ -16,4 +16,4 @@ AWS_LWA_REMOVE_BASE_PATH=/orders A request to `/orders/123` will be forwarded to your app as `/123`. -See the [SpringBoot example](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/springboot) for a working implementation. +See the [SpringBoot example](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/springboot) for a working implementation. diff --git a/docs/guide/src/features/managed-instances.md b/docs/guide/src/features/managed-instances.md index f89cc4d7..da92e8f0 100644 --- a/docs/guide/src/features/managed-instances.md +++ b/docs/guide/src/features/managed-instances.md @@ -17,4 +17,4 @@ When using Lambda Managed Instances, keep these points in mind: Lambda Managed Instances works with both buffered and response streaming modes. -Check out the [FastAPI with Response Streaming on Lambda Managed Instances](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-lmi) example. +Check out the [FastAPI with Response Streaming on Lambda Managed Instances](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-lmi) example. diff --git a/docs/guide/src/features/non-http-events.md b/docs/guide/src/features/non-http-events.md index 5afc17bd..075f133e 100644 --- a/docs/guide/src/features/non-http-events.md +++ b/docs/guide/src/features/non-http-events.md @@ -39,6 +39,6 @@ app.post('/events', (req, res) => { ## Examples -- [SQS Express.js](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/sqs-expressjs) -- [Bedrock Agent FastAPI](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/bedrock-agent-fastapi) -- [Bedrock Agent FastAPI in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/bedrock-agent-fastapi-zip) +- [SQS Express.js](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/sqs-expressjs) +- [Bedrock Agent FastAPI](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/bedrock-agent-fastapi) +- [Bedrock Agent FastAPI in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/bedrock-agent-fastapi-zip) diff --git a/docs/guide/src/getting-started/zip-packages.md b/docs/guide/src/getting-started/zip-packages.md index 2a4ea84c..3d12c6bf 100644 --- a/docs/guide/src/getting-started/zip-packages.md +++ b/docs/guide/src/getting-started/zip-packages.md @@ -56,6 +56,6 @@ If you create your Zip package on Windows, your startup script (e.g. `run.sh`) m 1. **Use LF line endings** — Windows defaults to CRLF (`\r\n`), which causes `/bin/sh` to fail with `cannot execute: required file not found`. 2. **Set Unix file permissions to 755** — Zip files created on Windows don't preserve Unix execute permissions. -Most zip utilities on Windows don't handle Unix permissions. You can work around this by using WSL, a build script that sets permissions explicitly, or a tool like `7-Zip` with the `-mcu` flag. See [#611](https://github.com/awslabs/aws-lambda-web-adapter/issues/611) for more details. +Most zip utilities on Windows don't handle Unix permissions. You can work around this by using WSL, a build script that sets permissions explicitly, or a tool like `7-Zip` with the `-mcu` flag. See [#611](https://github.com/aws/aws-lambda-web-adapter/issues/611) for more details. -For a complete working example, see the [Express.js in Zip](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/expressjs-zip) example. +For a complete working example, see the [Express.js in Zip](https://github.com/aws/aws-lambda-web-adapter/tree/main/examples/expressjs-zip) example. diff --git a/docs/guide/src/introduction.md b/docs/guide/src/introduction.md index f40e9c47..a8feb842 100644 --- a/docs/guide/src/introduction.md +++ b/docs/guide/src/introduction.md @@ -4,7 +4,7 @@ Run web applications on AWS Lambda — with zero code changes. AWS Lambda Web Adapter lets developers build web apps with familiar frameworks (Express.js, Next.js, Flask, SpringBoot, ASP.NET, Laravel, and anything that speaks HTTP 1.1/1.0) and run them on AWS Lambda. The same Docker image can run on AWS Lambda, Amazon EC2, AWS Fargate, and local machines. -![Lambda Web Adapter Overview](https://github.com/awslabs/aws-lambda-web-adapter/raw/main/docs/images/lambda-adapter-overview.png) +![Lambda Web Adapter Overview](https://github.com/aws/aws-lambda-web-adapter/raw/main/docs/images/lambda-adapter-overview.png) ## Key Features @@ -29,7 +29,7 @@ AWS Lambda Web Adapter runs as a [Lambda Extension](https://docs.aws.amazon.com/ 4. Incoming Lambda events are converted to HTTP requests and forwarded to your app 5. Your app's HTTP responses are converted back to Lambda event responses -![Lambda Adapter Runtime](https://github.com/awslabs/aws-lambda-web-adapter/raw/main/docs/images/lambda-adapter-runtime.png) +![Lambda Adapter Runtime](https://github.com/aws/aws-lambda-web-adapter/raw/main/docs/images/lambda-adapter-runtime.png) ## Pre-built Binaries diff --git a/docs/guide/src/reference/architecture.md b/docs/guide/src/reference/architecture.md index 86b51471..a3ca3e02 100644 --- a/docs/guide/src/reference/architecture.md +++ b/docs/guide/src/reference/architecture.md @@ -39,7 +39,7 @@ The adapter automatically detects binary responses based on the `Content-Type` h ## Technology Stack - Written in Rust -- Built on [AWS Lambda Rust Runtime](https://github.com/awslabs/aws-lambda-rust-runtime) (`lambda_http` crate) +- Built on [AWS Lambda Rust Runtime](https://github.com/aws/aws-lambda-rust-runtime) (`lambda_http` crate) - Uses `hyper` as the HTTP client - Uses `tower` for middleware (compression) - Compiled to static musl binaries for x86_64 and aarch64 diff --git a/docs/guide/src/reference/changelog.md b/docs/guide/src/reference/changelog.md index 105175e1..8bd4d975 100644 --- a/docs/guide/src/reference/changelog.md +++ b/docs/guide/src/reference/changelog.md @@ -1,6 +1,6 @@ # Changelog -For the full changelog with all releases and contributors, see the [GitHub Releases](https://github.com/awslabs/aws-lambda-web-adapter/releases) page. +For the full changelog with all releases and contributors, see the [GitHub Releases](https://github.com/aws/aws-lambda-web-adapter/releases) page. ## Highlights diff --git a/examples/aspnet-mvc/README.md b/examples/aspnet-mvc/README.md index 8b872bcd..4293e2eb 100644 --- a/examples/aspnet-mvc/README.md +++ b/examples/aspnet-mvc/README.md @@ -4,7 +4,7 @@ A basic ASP.NET application example. You can build and test it locally as a typi Using AWS Lambda Adapter, you can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `src` directory is an ASP.NET application with a [Dockerfile](app/Dockerfile). @@ -39,7 +39,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [.NET 6](https://nodejs.org/en/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/bedrock-agent-fastapi-zip/README.md b/examples/bedrock-agent-fastapi-zip/README.md index cfa2ebfa..dda615c3 100644 --- a/examples/bedrock-agent-fastapi-zip/README.md +++ b/examples/bedrock-agent-fastapi-zip/README.md @@ -2,7 +2,7 @@ This project demonstrates the integration of "Agents for Amazon Bedrock" with a FastAPI application on AWS Lambda. It showcases how to effectively build an Agents for Amazon Bedrock within an serverless FastAPI application environment. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. ## How does it work? @@ -21,7 +21,7 @@ In this example, we build a FastAPI app to query S3 buckets in the user's AWS ac The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Python](https://www.python.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/bedrock-agent-fastapi-zip/template.yaml b/examples/bedrock-agent-fastapi-zip/template.yaml index 38c800df..5671003f 100644 --- a/examples/bedrock-agent-fastapi-zip/template.yaml +++ b/examples/bedrock-agent-fastapi-zip/template.yaml @@ -5,7 +5,7 @@ Description: > FastAPI app that work with Agents for Amazon Bedrock -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 60 diff --git a/examples/bedrock-agent-fastapi/README.md b/examples/bedrock-agent-fastapi/README.md index d59a6111..62f54508 100644 --- a/examples/bedrock-agent-fastapi/README.md +++ b/examples/bedrock-agent-fastapi/README.md @@ -2,7 +2,7 @@ This project demonstrates the integration of "Agents for Amazon Bedrock" with a FastAPI application on AWS Lambda. It showcases how to effectively build an Agents for Amazon Bedrock within an serverless FastAPI application environment. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is an FastAPI application with a [Dockerfile](app/Dockerfile). @@ -28,7 +28,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Python](https://www.python.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/bedrock-agent-fastapi/template.yaml b/examples/bedrock-agent-fastapi/template.yaml index f0877a91..30a2bacc 100644 --- a/examples/bedrock-agent-fastapi/template.yaml +++ b/examples/bedrock-agent-fastapi/template.yaml @@ -5,7 +5,7 @@ Description: > FastAPI app that work with Agents for Amazon Bedrock -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 60 diff --git a/examples/bun-graphql-streaming-zip/template.yaml b/examples/bun-graphql-streaming-zip/template.yaml index 72a3f879..8744f847 100644 --- a/examples/bun-graphql-streaming-zip/template.yaml +++ b/examples/bun-graphql-streaming-zip/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > Bun graphql response streaming -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 60 diff --git a/examples/bun-graphql-zip/template.yaml b/examples/bun-graphql-zip/template.yaml index 54ad0116..8006662f 100644 --- a/examples/bun-graphql-zip/template.yaml +++ b/examples/bun-graphql-zip/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > Bun Graphql Api -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 60 diff --git a/examples/deno-zip/template.yaml b/examples/deno-zip/template.yaml index b8efe67b..aeabccd0 100644 --- a/examples/deno-zip/template.yaml +++ b/examples/deno-zip/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for deno-zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 10 @@ -13,7 +13,7 @@ Globals: Resources: DenoFunction: - Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction + Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: CodeUri: src Handler: app @@ -26,7 +26,7 @@ Resources: Layers: - !Sub arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:28 MemorySize: 512 - Environment: # More info about Env Vars: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object + Environment: # More info about Env Vars: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object Variables: AWS_LAMBDA_EXEC_WRAPPER: /opt/bootstrap DENO_DIR: /tmp diff --git a/examples/expressjs-zip/hello-world/package.json b/examples/expressjs-zip/hello-world/package.json index 7442018a..f2e66c71 100644 --- a/examples/expressjs-zip/hello-world/package.json +++ b/examples/expressjs-zip/hello-world/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "description": "hello world sample for NodeJS", "main": "app.js", - "repository": "https://github.com/awslabs/aws-sam-cli/tree/develop/samcli/local/init/templates/cookiecutter-aws-sam-hello-nodejs", + "repository": "https://github.com/aws/aws-sam-cli/tree/develop/samcli/local/init/templates/cookiecutter-aws-sam-hello-nodejs", "author": "SAM CLI", "license": "MIT", "dependencies": { diff --git a/examples/expressjs-zip/template.yaml b/examples/expressjs-zip/template.yaml index 80f9b9ab..99d0d0a2 100644 --- a/examples/expressjs-zip/template.yaml +++ b/examples/expressjs-zip/template.yaml @@ -5,14 +5,14 @@ Description: > Sample SAM Template for expressjs-zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 3 Resources: HelloWorldFunction: - Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction + Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: CodeUri: hello-world/ Handler: run.sh @@ -41,7 +41,7 @@ Resources: Outputs: # ServerlessRestApi is an implicit API created out of Events key under Serverless::Function # Find out more about other implicit resources you can reference within SAM - # https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api + # https://github.com/aws/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api HelloWorldApi: Description: "API Gateway endpoint URL for Prod stage for Hello World function" Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.${AWS::URLSuffix}/Prod/" diff --git a/examples/expressjs/README.md b/examples/expressjs/README.md index 7e05834f..d1baa51e 100644 --- a/examples/expressjs/README.md +++ b/examples/expressjs/README.md @@ -4,7 +4,7 @@ A basic express.js application example. You can build and test it locally as a t Using AWS Lambda Adapter, you can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is an express.js application with a [Dockerfile](app/Dockerfile). @@ -30,7 +30,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Node](https://nodejs.org/en/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/expressjs/template.yaml b/examples/expressjs/template.yaml index 2f74186d..9abab902 100644 --- a/examples/expressjs/template.yaml +++ b/examples/expressjs/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for sam-app -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 29 diff --git a/examples/fastapi-background-tasks/README.md b/examples/fastapi-background-tasks/README.md index c249b235..ff4a7037 100644 --- a/examples/fastapi-background-tasks/README.md +++ b/examples/fastapi-background-tasks/README.md @@ -4,7 +4,7 @@ A basic FastAPI application example. You can build and test it locally as a typi Using AWS Lambda Web Adapter, You can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is a FastAPI application with a [Dockerfile](app/Dockerfile). @@ -29,7 +29,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Python](https://www.python.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/fastapi-background-tasks/template.yaml b/examples/fastapi-background-tasks/template.yaml index c83c3473..ee1b4cc9 100644 --- a/examples/fastapi-background-tasks/template.yaml +++ b/examples/fastapi-background-tasks/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for FastAPI -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 30 diff --git a/examples/fastapi-response-streaming-zip/template.yaml b/examples/fastapi-response-streaming-zip/template.yaml index 83d03ff3..292ee62e 100644 --- a/examples/fastapi-response-streaming-zip/template.yaml +++ b/examples/fastapi-response-streaming-zip/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > fastapi response streaming -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 60 diff --git a/examples/fastapi-response-streaming/template.yaml b/examples/fastapi-response-streaming/template.yaml index 0ce24fa8..b27a53da 100644 --- a/examples/fastapi-response-streaming/template.yaml +++ b/examples/fastapi-response-streaming/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > Streaming Bedrock Response with FastAPI on AWS Lambda -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 300 diff --git a/examples/fastapi-zip/template.yaml b/examples/fastapi-zip/template.yaml index 30eb83f0..0074bae9 100644 --- a/examples/fastapi-zip/template.yaml +++ b/examples/fastapi-zip/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > FastAPI in Zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 10 diff --git a/examples/fastapi/README.md b/examples/fastapi/README.md index 68ec628c..e9ff10ba 100644 --- a/examples/fastapi/README.md +++ b/examples/fastapi/README.md @@ -4,7 +4,7 @@ A basic FastAPI application example. You can build and test it locally as a typi Using AWS Lambda Web Adapter, You can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is a FastAPI application with a [Dockerfile](app/Dockerfile). @@ -29,7 +29,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Python](https://www.python.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/fastapi/template.yaml b/examples/fastapi/template.yaml index d5044c09..95054791 100644 --- a/examples/fastapi/template.yaml +++ b/examples/fastapi/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for FastAPI -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 10 diff --git a/examples/fasthtml-response-streaming-zip/template.yaml b/examples/fasthtml-response-streaming-zip/template.yaml index ede98040..2a83ac36 100644 --- a/examples/fasthtml-response-streaming-zip/template.yaml +++ b/examples/fasthtml-response-streaming-zip/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > FastHTML response streaming -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 60 diff --git a/examples/fasthtml-response-streaming/template.yaml b/examples/fasthtml-response-streaming/template.yaml index 55e9258e..ec55ac8c 100644 --- a/examples/fasthtml-response-streaming/template.yaml +++ b/examples/fasthtml-response-streaming/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > Streaming Bedrock Response with FastHTML on AWS Lambda -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 300 diff --git a/examples/fasthtml-zip/template.yaml b/examples/fasthtml-zip/template.yaml index 49f37135..8eae71f2 100644 --- a/examples/fasthtml-zip/template.yaml +++ b/examples/fasthtml-zip/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > FastHTML in Zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 10 diff --git a/examples/fasthtml/README.md b/examples/fasthtml/README.md index c10973ff..6c46f25b 100644 --- a/examples/fasthtml/README.md +++ b/examples/fasthtml/README.md @@ -4,7 +4,7 @@ A basic FastHTML application example. You can build and test it locally as a typ Using AWS Lambda Web Adapter, You can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is a FastHTML application with a [Dockerfile](app/Dockerfile). @@ -29,7 +29,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Python](https://www.python.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/fasthtml/template.yaml b/examples/fasthtml/template.yaml index eba966ee..72cf31d4 100644 --- a/examples/fasthtml/template.yaml +++ b/examples/fasthtml/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for FastHTML -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 10 diff --git a/examples/fastmcp/README.md b/examples/fastmcp/README.md index a927c26c..cfb96e07 100644 --- a/examples/fastmcp/README.md +++ b/examples/fastmcp/README.md @@ -4,7 +4,7 @@ A basic FastMCP (Model Context Protocol) server example. You can build and test Using AWS Lambda Web Adapter, you can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `my_mcp_server` directory is a FastMCP application with a [Dockerfile](my_mcp_server/Dockerfile). @@ -35,7 +35,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Python](https://www.python.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/flask-zip/template.yaml b/examples/flask-zip/template.yaml index 60fc0e09..0facc7cb 100644 --- a/examples/flask-zip/template.yaml +++ b/examples/flask-zip/template.yaml @@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31 Description: > Sample SAM Template for flask in Zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 29 diff --git a/examples/flask/README.md b/examples/flask/README.md index d0c1ce65..94c13be9 100644 --- a/examples/flask/README.md +++ b/examples/flask/README.md @@ -4,7 +4,7 @@ A basic Flask application example. You can build and test it locally as a typica Using AWS Lambda Adapter, You can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is a flask application with a [Dockerfile](app/Dockerfile). @@ -27,7 +27,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Python](https://www.python.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/flask/template.yaml b/examples/flask/template.yaml index 5bc75bff..65d2368a 100644 --- a/examples/flask/template.yaml +++ b/examples/flask/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for flask -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 10 diff --git a/examples/javalin-zip/README.md b/examples/javalin-zip/README.md index 1016070c..a3c6411f 100644 --- a/examples/javalin-zip/README.md +++ b/examples/javalin-zip/README.md @@ -16,7 +16,7 @@ Please note that using `sam local start-api` is not required for local developme ## Getting Started -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. To run the application we are using the run.sh script located in the resources folder: @@ -58,7 +58,7 @@ This configuration tells the Adapter to remove `/v1` from http request path, so The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Maven](https://maven.apache.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/nextjs-zip/README.md b/examples/nextjs-zip/README.md index f1077ec4..c4f95f0a 100644 --- a/examples/nextjs-zip/README.md +++ b/examples/nextjs-zip/README.md @@ -86,7 +86,7 @@ The SAM CLI reads the application template to determine the API's routes and the ``` ## Add a resource to your application -The application template uses AWS Serverless Application Model (AWS SAM) to define application resources. AWS SAM is an extension of AWS CloudFormation with a simpler syntax for configuring common serverless application resources such as functions, triggers, and APIs. For resources not included in [the SAM specification](https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md), you can use standard [AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) resource types. +The application template uses AWS Serverless Application Model (AWS SAM) to define application resources. AWS SAM is an extension of AWS CloudFormation with a simpler syntax for configuring common serverless application resources such as functions, triggers, and APIs. For resources not included in [the SAM specification](https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md), you can use standard [AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) resource types. ## Fetch, tail, and filter Lambda function logs diff --git a/examples/nextjs/README.md b/examples/nextjs/README.md index 405be692..6657514c 100644 --- a/examples/nextjs/README.md +++ b/examples/nextjs/README.md @@ -78,7 +78,7 @@ The SAM CLI reads the application template to determine the API's routes and the ``` ## Add a resource to your application -The application template uses AWS Serverless Application Model (AWS SAM) to define application resources. AWS SAM is an extension of AWS CloudFormation with a simpler syntax for configuring common serverless application resources such as functions, triggers, and APIs. For resources not included in [the SAM specification](https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md), you can use standard [AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) resource types. +The application template uses AWS Serverless Application Model (AWS SAM) to define application resources. AWS SAM is an extension of AWS CloudFormation with a simpler syntax for configuring common serverless application resources such as functions, triggers, and APIs. For resources not included in [the SAM specification](https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md), you can use standard [AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) resource types. ## Fetch, tail, and filter Lambda function logs diff --git a/examples/nginx/README.md b/examples/nginx/README.md index 2d25fc74..db5272ca 100644 --- a/examples/nginx/README.md +++ b/examples/nginx/README.md @@ -5,7 +5,7 @@ A basic Nginx web server runs inside AWS Lambda. You can package this web server into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. The application can be deployed in an AWS account using -the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in +the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is the nginx configuration with @@ -36,7 +36,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Docker](https://www.docker.com/products/docker-desktop) ## Deploy to Lambda diff --git a/examples/nginx/template.yaml b/examples/nginx/template.yaml index 8efe7cbb..ca75c177 100644 --- a/examples/nginx/template.yaml +++ b/examples/nginx/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for serverless-nginx-demo -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 29 diff --git a/examples/php/README.md b/examples/php/README.md index 7fef502f..95b182d0 100644 --- a/examples/php/README.md +++ b/examples/php/README.md @@ -5,7 +5,7 @@ A basic PHP application runs inside AWS Lambda. You can package this PHP application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. The application can be deployed in an AWS account using -the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in +the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is the nginx configuration with @@ -36,7 +36,7 @@ ADD php/php.d/extensions.ini /opt/php/php.d/extensions.ini The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Docker](https://www.docker.com/products/docker-desktop) ## Deploy to Lambda diff --git a/examples/php/template.yaml b/examples/php/template.yaml index dc4247a5..37ba9e04 100644 --- a/examples/php/template.yaml +++ b/examples/php/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for serverless-php-demo -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 10 diff --git a/examples/remix-zip/template.yaml b/examples/remix-zip/template.yaml index 0554999e..fc6daf6d 100644 --- a/examples/remix-zip/template.yaml +++ b/examples/remix-zip/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for remix-zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 30 diff --git a/examples/remix/README.md b/examples/remix/README.md index 79fd24e3..45ea5e26 100644 --- a/examples/remix/README.md +++ b/examples/remix/README.md @@ -10,7 +10,7 @@ npx create-remix@latest --template remix-run/remix/templates/express Using AWS Lambda Web Adapter, you can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `remix-app` directory is a Remix application with a [Dockerfile](app/Dockerfile). @@ -35,7 +35,7 @@ CMD ["node", "server.js"] The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Node](https://nodejs.org/en/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/remix/template.yaml b/examples/remix/template.yaml index fe64404f..392ff0cf 100644 --- a/examples/remix/template.yaml +++ b/examples/remix/template.yaml @@ -5,7 +5,7 @@ Description: > Sample SAM Template for Remix Demo -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 29 diff --git a/examples/rust-actix-web-zip/README.md b/examples/rust-actix-web-zip/README.md index 9530b08a..f6e00a4f 100644 --- a/examples/rust-actix-web-zip/README.md +++ b/examples/rust-actix-web-zip/README.md @@ -49,7 +49,7 @@ You can find your API Gateway Endpoint URL in the output values displayed after ## Add a resource to your application -The application template uses AWS Serverless Application Model (AWS SAM) to define application resources. AWS SAM is an extension of AWS CloudFormation with a simpler syntax for configuring common serverless application resources such as functions, triggers, and APIs. For resources not included in [the SAM specification](https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md), you can use standard [AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) resource types. +The application template uses AWS Serverless Application Model (AWS SAM) to define application resources. AWS SAM is an extension of AWS CloudFormation with a simpler syntax for configuring common serverless application resources such as functions, triggers, and APIs. For resources not included in [the SAM specification](https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md), you can use standard [AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) resource types. ## Fetch, tail, and filter Lambda function logs diff --git a/examples/rust-actix-web-zip/template.yaml b/examples/rust-actix-web-zip/template.yaml index 7b73b570..a8aad45a 100644 --- a/examples/rust-actix-web-zip/template.yaml +++ b/examples/rust-actix-web-zip/template.yaml @@ -5,14 +5,14 @@ Description: > Sample SAM Template for rust-actix-web-zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 3 Resources: ActixWebFunction: - Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction + Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Metadata: BuildMethod: rust-cargolambda # More info about Cargo Lambda: https://github.com/cargo-lambda/cargo-lambda Properties: @@ -25,12 +25,12 @@ Resources: - !Sub arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:28 Events: HttpEvents: - Type: HttpApi # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api + Type: HttpApi # More info about API Event Source: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#api Outputs: # ServerlessHttpApi is an implicit API created out of Events key under Serverless::Function # Find out more about other implicit resources you can reference within SAM - # https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api + # https://github.com/aws/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api PutApi: Description: "API Gateway endpoint URL for the Actix Web application" Value: !Sub "https://${ServerlessHttpApi}.execute-api.${AWS::Region}.${AWS::URLSuffix}/" diff --git a/examples/rust-axum-zip/README.md b/examples/rust-axum-zip/README.md index 0ac6fed2..2f440a26 100644 --- a/examples/rust-axum-zip/README.md +++ b/examples/rust-axum-zip/README.md @@ -51,7 +51,7 @@ You can find your API Gateway Endpoint URL in the output values displayed after ## Add a resource to your application -The application template uses AWS Serverless Application Model (AWS SAM) to define application resources. AWS SAM is an extension of AWS CloudFormation with a simpler syntax for configuring common serverless application resources such as functions, triggers, and APIs. For resources not included in [the SAM specification](https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md), you can use standard [AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) resource types. +The application template uses AWS Serverless Application Model (AWS SAM) to define application resources. AWS SAM is an extension of AWS CloudFormation with a simpler syntax for configuring common serverless application resources such as functions, triggers, and APIs. For resources not included in [the SAM specification](https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md), you can use standard [AWS CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) resource types. ## Fetch, tail, and filter Lambda function logs diff --git a/examples/rust-axum-zip/template.yaml b/examples/rust-axum-zip/template.yaml index c25f6fb2..45d75620 100644 --- a/examples/rust-axum-zip/template.yaml +++ b/examples/rust-axum-zip/template.yaml @@ -5,14 +5,14 @@ Description: > Sample SAM Template for rust-axum-zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 3 Resources: HelloWorldFunction: - Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction + Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: CodeUri: rust_app Handler: bootstrap @@ -23,14 +23,14 @@ Resources: - !Sub arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:28 Events: Root: - Type: HttpApi # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api + Type: HttpApi # More info about API Event Source: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#api Metadata: BuildMethod: rust-cargolambda # More info about Cargo Lambda: https://github.com/cargo-lambda/cargo-lambda Outputs: # ServerlessHttpApi is an implicit API created out of Events key under Serverless::Function # Find out more about other implicit resources you can reference within SAM - # https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api + # https://github.com/aws/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api HelloWorldApi: Description: "API Gateway endpoint URL for Prod stage for Hello World function" Value: !Sub "https://${ServerlessHttpApi}.execute-api.${AWS::Region}.${AWS::URLSuffix}/" diff --git a/examples/sinatra/README.md b/examples/sinatra/README.md index 517f90cc..c2417a33 100644 --- a/examples/sinatra/README.md +++ b/examples/sinatra/README.md @@ -3,7 +3,7 @@ A basic example of a Sinatra application. Using AWS Lambda Adapter, You can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is a Sinatra application with a Dockerfile. @@ -21,7 +21,7 @@ CMD ["bundle", "exec", "ruby", "app.rb", "-o", "0.0.0.0", "-p", "8080"] The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Docker](https://www.docker.com/products/docker-desktop) * [Ruby](https://www.ruby-lang.org/) diff --git a/examples/springboot-response-streaming-zip/README.md b/examples/springboot-response-streaming-zip/README.md index 0d82e6bc..95aa7dd4 100644 --- a/examples/springboot-response-streaming-zip/README.md +++ b/examples/springboot-response-streaming-zip/README.md @@ -2,7 +2,7 @@ A basic file streaming application written with the Spring Boot 2 framework. You can build and test it locally as a typical Spring Boot 2 application. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. To run the application we are using the run.sh script located in the resources folder: @@ -46,7 +46,7 @@ This configuration tells the Adapter to remove `/v1` from http request path, so The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Maven](https://maven.apache.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/springboot-zip/README.md b/examples/springboot-zip/README.md index c064e226..1c892519 100644 --- a/examples/springboot-zip/README.md +++ b/examples/springboot-zip/README.md @@ -2,7 +2,7 @@ A basic pet store application written with the Spring Boot 2 framework. You can build and test it locally as a typical Spring Boot 2 application. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. To run the application we are using the run.sh script located in the resources folder: @@ -46,7 +46,7 @@ This configuration tells the Adapter to remove `/v1` from http request path, so The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Maven](https://maven.apache.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/springboot/README.md b/examples/springboot/README.md index 40437c87..268a4d39 100644 --- a/examples/springboot/README.md +++ b/examples/springboot/README.md @@ -4,7 +4,7 @@ A basic pet store application written with the Spring Boot 2 framework. You can Using AWS Lambda Adapter, you can package this web application into Docker image, push to ECR, and deploy to Lambda, ECS/EKS, or EC2. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is a Spring Boot application with a multi-stage [Dockerfile](app/Dockerfile). @@ -39,7 +39,7 @@ This configuration tells the Adapter to remove `/v1` from http request path, so The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Maven](https://maven.apache.org/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/sqs-expressjs/README.md b/examples/sqs-expressjs/README.md index f9e899d0..ba04c39f 100644 --- a/examples/sqs-expressjs/README.md +++ b/examples/sqs-expressjs/README.md @@ -4,7 +4,7 @@ This project demonstrates the integration of Amazon Simple Queue Service (SQS) w In this Express.js application integrated with Amazon SQS, there is no explicit code required to poll the SQS queue. The AWS Lambda handles the polling of the SQS queue and Lambda Web Adapter forwards the event payload to the Express.js application vith a HTTP POST request. This simplifies the application code and allows developers to focus on processing the event payload rather than managing the queue polling logic. -The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/awslabs/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. +The application can be deployed in an AWS account using the [Serverless Application Model](https://github.com/aws/serverless-application-model). The `template.yaml` file in the root folder contains the application definition. The top level folder is a typical AWS SAM project. The `app` directory is an express.js application with a [Dockerfile](app/Dockerfile). @@ -31,7 +31,7 @@ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt The following tools should be installed and configured. * [AWS CLI](https://aws.amazon.com/cli/) -* [SAM CLI](https://github.com/awslabs/aws-sam-cli) +* [SAM CLI](https://github.com/aws/aws-sam-cli) * [Node](https://nodejs.org/en/) * [Docker](https://www.docker.com/products/docker-desktop) diff --git a/examples/sqs-expressjs/template.yaml b/examples/sqs-expressjs/template.yaml index 3b333f46..f46221ab 100644 --- a/examples/sqs-expressjs/template.yaml +++ b/examples/sqs-expressjs/template.yaml @@ -5,7 +5,7 @@ Description: > an expressjs app that receives messages from an sqs queue -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 300 diff --git a/examples/sveltekit-ssr-zip/template.yaml b/examples/sveltekit-ssr-zip/template.yaml index e6f8686b..321d78ae 100644 --- a/examples/sveltekit-ssr-zip/template.yaml +++ b/examples/sveltekit-ssr-zip/template.yaml @@ -5,14 +5,14 @@ Description: > Sample SAM Template for sveltekit-ssr-zip -# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst +# More info about Globals: https://github.com/aws/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 3 Resources: SvelteKitSsrFunction: - Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction + Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: CodeUri: app Handler: run.sh