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

Add pathParameters and queryStringParameters to payload version 2.0 #1667

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

juarezjaramillo
Copy link
Contributor

Description

As per, https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html#http-api-lambda-authorizer.payload-format Events with payload version 2.0 for HTTP APIs include path parameters and query string parameters

Motivation and Context

Sometimes, path parameters need to be used in an authorizer

How Has This Been Tested?

Yes, locally. Changes are trivial.

Copy link
Owner

@dherault dherault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, looks good to me.

@dherault dherault merged commit 7a74692 into dherault:master Aug 17, 2024
@dherault
Copy link
Owner

Published in v14.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants