mappersmith-aws
v0.1.0
Published
Mappersmith middeware for AWS Signature Version 4 signing process.
Downloads
4
Readme
mappersmith-aws
Mappersmith middeware for AWS Signature Version 4 signing process.
Usage
import forge from "mappersmith"
import { configAWSMiddleware } from "mappersmith-aws"
const AWSMiddleware = configAWSMiddleware({
region: "us-east-1",
service: "execute-api"
})
const api = forge({
middleware: [
...,
AWSMiddleware
]
...
})
Important: the middleware should always be the last one in your API definitions since it needs to be aware of all headers.