AWS IoT and Serverless Framework: how can I trigger a dynamoDB action?

Hi,

On AWS IoT I’d like to trigger an action that inserts a message into a DynamoDB table. Is there a way to do it on serverless.yml file?

Thanks!