Receive messages/events from SQS and map them to Dynamodb

I am trying to figure out a way where I can read my SQS events and map them to DynamoDB using Java. I have a SQS in AWS which will get some messages having some information e.g. {"id": "xxx", "state": "xxx"}. These events I want to map them in my DynamoDB table. The DynamoDB contains id as a partition key. According to my reasearch this is doable by reading messages from sqs and use putItem from AWS DynamoDB in JAVA. Is there any simple way to that using JAVA. Or any example would be helpful here.

Thank you !

1 answer

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum