Closed
Description
Use case
If you have a custom authorizer lambda that adds context to an API Gateway Event, the event won't be valid if using APIGatewayProxyEventSchema
, as the authorizer
key is now invalid. Exporting the schema will allow me to extend it, and then define my authorizer context manually.
Solution/User Experience
Export APIGatewayEventRequestContext schema.
Powertools for AWS Lambda (TypeScript) version
2.10.0
AWS Lambda function runtime
20.x
Alternative solutions
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.