-
Notifications
You must be signed in to change notification settings - Fork 821
-
Notifications
You must be signed in to change notification settings - Fork 821
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
amplify add trigger #1609
Comments
That would be a great addition 👍 For now, to achieve this I create a function to handle the trigger,
2- I create inline function that is repsonsible for connecting the Lambda function with cognito trigger.
3- Then I create and IAM role to give the above function the needed permissions to run
4- Finally, you need to create a custom resource to call the setup function
NOTE: you need to provide values for these parameters: |
@rawadrifai I have added this feature-request to support generic lambda function as trigger to our backlog. Our product team will go through and prioritize this. @eelzinaty Auth RFC talks about some of the triggers that we will support. Please feel free to comment in the RFC |
@rawadrifai We're actively working on DynamoDB, S3 and Cognito Lambda triggers and I'll update this thread once we release support for it. |
We've added support for Lambda Trigger support for the dynamo tables managed/added by the CLI using the |
@kaustavghosh06 thanks for the update. Is the Pre Token Generation trigger for Cognito supported? |
Awesome work " Amplify team". Is there a reason why the lambda triggers cannot be added to dynamo tables created by " |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Is your feature request related to a problem? Please describe.
No. Just a convenience and a step towards no console at all.
Describe the solution you'd like
add a command
amplify add trigger
It takes a source and a destination. The destination is a lambda.
The source can be cognito triggers, dynamodb table
Describe alternatives you've considered
I do it manually in the console. Not sure if there's a way to include triggers in an amplify project.
Additional context
I love Amplify and would like to see it completely console-less.
The text was updated successfully, but these errors were encountered: