My team and I are working on a Full-Stack Application using ReactJS on the frontend and AWS Amplify on the backend. We are using AWS AppSync to Query data in our DynamoDB tables (through GraphQL Queries), Cognito for User Authentication, and SES to send out emails to users. Basically, the user inputs some info (DynamoDB Table #1), and that is matched against an opportunity database (DynamoDB table #2), and the top 3 opportunities are shown to the user. If none are found, an email is sent to inform the user that they will receive an email when opportunities are found. Now for the Question: I wanted to know if there is a way to automatically Query a DynamoDB table (Like once a day or every time a new opportunity is added to the DynamoDB Table #2) and send out emails with matching opportunities to users who were waiting for them? I tried using Lambda Triggers but the only way I could do it was by querying each row of DynamoDB Table #1 against DynamoDB Table #2. That is computationally infeasible as there will be too many resources being used up. I am asking for advice on how I can go about making that daily check because I haven't been able to figure it out yet! Any responses are appreciated, and let me know if you need any additional information from my side! Thank you!
Automated DynamoDB Database Checks | ReactJS + AWS Amplify
176 Views Asked by Anjali_Iyer At
1
There are 1 best solutions below
Related Questions in REACTJS
- What is `_dereq_()` inside React?
- React TypeError: React.renderComponent is not a function
- React - saving a component in the ref callback
- React Rails component: manually triggering a re-render
- React, ES6 - getInitialState was defined on a plain JavaScript class
- How to get multiple selected options value in React JS?
- React.render replace container instead of inserting into
- reactjs datagrid use html
- props is not initialized in react component
- How to display xml data using Reactjs
- hooking up the data model in ReactJS - syntax
- ReactJS: How to use an immutable empty array or object
- How to use Sinon.js FakeXMLHttpRequest with superagent?
- React select onChange is not working
- ReactJS - Tutorial Comment System > Threaded commenting
Related Questions in AMAZON-WEB-SERVICES
- "Access Denied" - User's Permissions to S3 Bucket
- Cohort analysis with Amazon Redshift / PostgreSQL
- Using Amazon KMS service on Heroku
- can't ssh in after cloning an EC2 instance on Amazon AWS
- Using HDFS with Apache Spark on Amazon EC2
- How can I access Mule ESB Community edition via browser?
- AWS EC2: Migrating from Windows to Linux Server
- AWS ELB Load Balancer: is it possible to set multiple session cookies?
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- Cloudfront stream only part of the video
- s3cmd not working as cron-task when echos/dates are added
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- InstanceProfile is required for creating cluster - create python function to install module
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
Related Questions in AMAZON-DYNAMODB
- Exception while importing data to dynamodb using data pipeline
- DynamoDB .NET - Delete all items from a table
- Querying DynamoDB table by hash and range key
- How to get rows count from Amazon DynamoDB using Lambda AWS
- Calibrating throughput of DynamoDB tables
- Querying DynamoDB with Lambda does nothing
- How do you set up UAT for DynamoDB?
- Error with Data Pipeline backup when I transfer my data from DynamoDb to S3
- What's the difference between BatchGetItem and Query in DynamoDB?
- Querying Dynamo tables with dynamic attributes in Java
- Cannot marshall type class without a custom marshaler or @DynamoDBDocument annotation
- Difference between AmazonDynamoDBClient and DynamoDB classes in their java SDK?
- org/apache/http/util/Args (java.lang.NoClassDefFoundError). Message payload is of type: String
- DynamoDB JsonMarshaller cannot Deserialize List of Object
- search text in dynamodb, break up tables
Related Questions in AWS-AMPLIFY
- create react native app AWS S3 getObject use file
- How to enable the CORS mode on frontend side in GraphQL/AWS Amplify?
- querying amplify graphql many-to-many relationship
- How to add environment variables to AWS amplify?
- How do I put AWS Amplify project into CodeCommit?
- Checking status of amplify datastore operation
- Cloudflare CNAME couldn't be verified with AWS Amazone
- React images load locally but not on AWS Amplify
- 'Unauthorized' error when using AWS amplify with grahql to create a new user
- How to receive attributes from users who signed in via an identity provider in AWS Amplify?
- amazon-cognito-identity-js conflict in nodes modules files
- How do you use RDS MySQL with AWS AppSync
- Failed to start API Mock endpoint Error: CloudFormation stack parameter rdsRegion is missing default value
- How to add a AWS RDS database to amplify
- How can I record an aws pinpoint event from angular 8
Related Questions in AWS-APPSYNC
- querying amplify graphql many-to-many relationship
- How do you use RDS MySQL with AWS AppSync
- Failed to start API Mock endpoint Error: CloudFormation stack parameter rdsRegion is missing default value
- AWS Cognito - Resend Verification Link to an User
- Automated DynamoDB Database Checks | ReactJS + AWS Amplify
- Error initializing appsync client. invalidAuthConfiguration("AWSCognitoUserPoolsAuthProvider cannot be nil.")
- Appsync Amplify - using jwt token
- How to use AWS AppSync in one account access DynamoDB in another account?
- AWS Amplify with GraphQL - Defining authentication rules by different types of users
- How to use Cognito for AppSync mutation call (Python)
- Is there a way to give a type as input for a mutation, without using the input type in AppSync?
- AWS AppSync API graphlQL - synchronous call needed
- What response format does AppSync expect?
- How to get the maximum number in DynamoDB column?
- AWS AppSync list query erring out with 504 in console and code
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You could look into using DynamoDB Streams. When a new Opportunity is added to DynamoDB, the stream would trigger a lambda to be called. Your lambda could then execute your business logic to match the opportunity with the appropriate user.