-
Notifications
You must be signed in to change notification settings - Fork 1k
New serverless pattern - apigw-websocket-mapping-template-authorizer #2609
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
New serverless pattern - apigw-websocket-mapping-template-authorizer #2609
Conversation
marcojahn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @aliceinaws,
thank you for your contribution, I've added a few comments and requests for changes. Pls review and apply. TY
apigw-websocket-mapping-template-authorizer/src/sendmessage.mjs
Outdated
Show resolved
Hide resolved
apigw-websocket-mapping-template-authorizer/src/sendmessage.mjs
Outdated
Show resolved
Hide resolved
apigw-websocket-mapping-template-authorizer/src/sendmessage.mjs
Outdated
Show resolved
Hide resolved
|
Hi @aliceinaws, this issue is becoming stale. Do you still plan to work on it? |
|
Hi @marcojahn sorry about the delay and thanks for your inputs. All the necessary changes should be made now, let me know if there's anything else ! |
marcojahn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @aliceinaws, thank you for the updates. One small remaining issue, then all good.
marcojahn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @aliceinaws, 4 remaining wording updates.
apigw-websocket-mapping-template-authorizer/example-pattern.json
Outdated
Show resolved
Hide resolved
apigw-websocket-mapping-template-authorizer/example-pattern.json
Outdated
Show resolved
Hide resolved
apigw-websocket-mapping-template-authorizer/example-pattern.json
Outdated
Show resolved
Hide resolved
apigw-websocket-mapping-template-authorizer/example-pattern.json
Outdated
Show resolved
Hide resolved
marcojahn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TY @aliceinaws for your contribution. Your PR will be merged to serverlessland soon
Issue #2610, if available:
Description of changes:
This projects demonstrates how to use a WebSocket API with a Lambda Authorizer. The WebSocket API does not have a Proxy integration with the back-end Lambda written NodeJs 22, instead it is using a mapping template that forwards the main information of the request.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.