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

Replace lambda validation with API Gateway request validation #48

Open
ashley-evans opened this issue Nov 8, 2021 · 0 comments
Open
Labels

Comments

@ashley-evans
Copy link
Owner

Value Added

Reduces lambda runtime costs. Reduces the responsibilities of the current lambda's that invoked by API Gateway

Description

Currently all of the existing lambdas perform validation on the request event/records using the middy validation middleware. This should be replaced by JSON validation on the API Gateway itself.

Acceptance Criteria

AC01

  • Replace validation performed during lambda functions that are invoked by API gateway with equivalent API Gateway request validation

AC02

  • Add automated testing to ensure that the same validation is performed against the request model as previously with the lambda

AC03

  • All changes required to achieve AC01/02 must be carried out via SAM/Cloud formation template updates
@ashley-evans ashley-evans added 3 5 and removed 3 labels Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant