Feature request: Export APIGatewayEventRequestContext schema #3409
Labels
feature-request
This item refers to a feature request for an existing or new utility
triage
This item has not been triaged by a maintainer, please wait
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 theauthorizer
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
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: