-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat: Cognito event sources #229 #1066
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
Conversation
- test script fixed - test added few cases to cognito_userpool_with_event - some make pr fixes - only one permission needs to be created - allow string or array for Trigger
Codecov Report
@@ Coverage Diff @@
## develop #1066 +/- ##
===========================================
- Coverage 94.81% 94.59% -0.22%
===========================================
Files 69 70 +1
Lines 3276 3328 +52
Branches 639 651 +12
===========================================
+ Hits 3106 3148 +42
- Misses 89 93 +4
- Partials 81 87 +6
Continue to review full report at Codecov.
|
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.
All in all, this looks good to me other than the one nit in the docs. I'm going to deploy the updated example to make sure it works as expected and read up on this feature to make sure this is all correct before we merge it in. Thank you for this contribution!
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.
Ran the example and verified that it works as expected. Thank you for this feature!
Thank you for submitting this feature! :) |
Issue #229, if available:
Description of changes:
Added support for Cognito event sources
It adds only one Permission per Lambda (logical_id de-dupe)
It changes to LambdaConfig property of the Cognito UserPool it refers to
Description of how you validated changes:
Updated the example "examples/2016-10-31/api_cognito_auth"
Transformed and created stack in my account
Checked is PreSignUp trigger correctly refers to the Lambda
Checklist:
make pr
passesexamples/2016-10-31
other todos:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.