Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Export APIGatewayEventRequestContext schema #3409

Open
1 of 2 tasks
martinnj-adsk opened this issue Dec 9, 2024 · 0 comments
Open
1 of 2 tasks

Feature request: Export APIGatewayEventRequestContext schema #3409

martinnj-adsk opened this issue Dec 9, 2024 · 0 comments
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

Comments

@martinnj-adsk
Copy link

martinnj-adsk commented Dec 9, 2024

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

Future readers

Please react with 👍 and your use case to help us understand customer demand.

@martinnj-adsk martinnj-adsk added 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 labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Development

No branches or pull requests

1 participant