Skip to content

Feature request: Export APIGatewayEventRequestContext schema #3409

Closed
@martinnj-adsk

Description

@martinnj-adsk

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.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityparserThis item relates to the Parser Utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions