Files
dependabot[bot] 9598b8abeb Bump fast-xml-parser and @aws-sdk/client-s3 in /serverless/aws (#636)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) to 5.3.4 and updates ancestor dependency [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3). These dependencies need to be updated together.


Updates `fast-xml-parser` from 4.4.1 to 5.3.4
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.4.1...v5.3.4)

Updates `@aws-sdk/client-s3` from 3.637.0 to 3.982.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.982.0/clients/client-s3)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.3.4
  dependency-type: indirect
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.982.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>
2026-02-03 17:57:55 -05:00
..
2024-07-09 10:11:33 +02:00
2024-09-19 10:05:41 +08:00
2022-11-22 10:59:09 +08:00

Protomaps on AWS

See installation and configuration instructions at Protomaps Docs: Deploy on AWS

Development

The code for the lambda function imports from the top level js/ directory. You will therfore need to first run npm install and npm run build in the js/ directory, and then run npm install in the serverless/aws directory.

You should then be able to build the Lambda ZIP:

npm run build-zip

Upload the resulting dist/lambda_function.zip using the Lambda console or copy and paste dist/index.mjs.

Test Events

JSON for simulating tile requests in the Lambda development console.

Lambda Function URLs:

{
  "rawPath": "/my-tileset-name/0/0/0.mvt"
}

API Gateway (REST API with Lambda Proxy Integration):

{
  "pathParameters": {
   "proxy": "my-tileset-name/0/0/0.mvt"
  }
}