Ability to add DynamoDB triggers via amplify add function
See original GitHub issueIs your feature request related to a problem? Please describe. I’ve created a graphql api backend and declared tables in my schema using @model. I would like to create a function to populate a field on the table on insert. Attempting this caused the following error:
There are no DynamoDB resources configured in your project currently
Describe the solution you’d like I’d like amplify to recognize the dynamoDB tables creates via the graphql schema so that I can add lambda function “triggers”.
Describe alternatives you’ve considered I’ll probably do the work on the front end for now.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:51
- Comments:30 (5 by maintainers)
Top Results From Across the Web
Advanced workflows - Lambda Triggers - AWS Amplify Docs
Lambda triggers are useful for adding functionality during certain lifecycles of the user's journey. Amplify ships common trigger templates which you can ...
Read more >How to configure dynamodb-to-lambda trigger using amplify ...
To create a lambda function that is triggered by changes to a DynamoDB ... amplify add function. Select which capability you want to...
Read more >Amplify Framework adds support for AWS Lambda Triggers in ...
Using Lambda triggers, you can call event-based Lambda functions for authentication, database actions, and storage operations from other AWS ...
Read more >Quickstart
# DynamoDB Lambda Triggers ... You can associate a Lambda trigger with a DynamoDB table, managed by the Amplify CLI, using the amplify...
Read more >Timeline feature: @function
In $ amplify add function , several templates are available. For example, if you select Lambda Trigger , you can set up DynamoDB...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is it possible to make an existing function trigger from DynamoDB with
amplify function update
, or can I only do that when I create the function?It would be nice if we could have an
@trigger
directive that works like the@function
directive.