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

Lambda Custom integration support #1841

Open
alikian opened this issue Nov 30, 2020 · 0 comments
Open

Lambda Custom integration support #1841

alikian opened this issue Nov 30, 2020 · 0 comments
Labels
maintainer/need-response stage/pm-review Waiting for review by our Product Manager, please don't work on this yet type/feature

Comments

@alikian
Copy link

alikian commented Nov 30, 2020

There are cases we want to remove certain values from http request header before calling lambda. For example we don't Lambda see API Key value, or other credential.

This is not possible using Lambda Proxy integration. We need some support for custom integration of Lambda so we can use request template to modify request.

The serverless framework currently support that, and SAM missing this feature. It would be great if we can add following to lambda event type

integration: lambda
          request:
            template:
              text/xhtml: '{ "stage" : "$context.stage" }'
              application/json: '{ "httpMethod" : "$context.httpMethod" }'

Thanks,
Ali

@CoshUS CoshUS added type/feature stage/pm-review Waiting for review by our Product Manager, please don't work on this yet labels Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer/need-response stage/pm-review Waiting for review by our Product Manager, please don't work on this yet type/feature
Projects
None yet
Development

No branches or pull requests

3 participants