Logs all or selected MQTT activity to a DynamoDB database.
By default logs everything - change the topic in the MQTT node to be more selective (e.g. "my\path\#" or "my\topic")
In AWS create a DynamoDB table with a Partition Key "timestamp" and a Sort Key "topic". Within IAM create a programmatic user and give it full access to DynamoDB service. You'll need the public & private keys to configure the node in this flow along with the name of the table you have created.
Requires node-red-contrib-aws and configuration of your MQTT server & DynamoDB table details