lambda-api-utils
v1.0.6
Published
This library contains utilities for use with the Lambda-Api to create rest endpoints in BFF microservices.
Downloads
48
Maintainers
Readme
lambda-api-utils
This library contains utilities for use with the Lambda-Api to create rest endpoints in BFF services.
Middleware
- Debug Logger
- Error Handling
- Serializer
- CORS
- forRole
- forOrganization
JWT
- getClaims
- getUsername
- getUserGroups
Connectors
- DynamoDB
- S3
Mapper
A very simple read mapper for the DynamoDB Single Table pattern.
- Hide internal fields like pk and sk.
- Create an aggreate json object out of many rows
Encryption
- encrypt
- decrypt (integrated with mapper)
Examples
- see test cases