emqx_bridge_dynamo.hocon 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. emqx_bridge_dynamo {
  2. config_enable.desc:
  3. """Enable or disable this bridge"""
  4. config_enable.label:
  5. """Enable Or Disable Bridge"""
  6. desc_config.desc:
  7. """Configuration for a DynamoDB bridge."""
  8. desc_config.label:
  9. """DynamoDB Bridge Configuration"""
  10. desc_name.desc:
  11. """Bridge name."""
  12. desc_name.label:
  13. """Bridge Name"""
  14. desc_type.desc:
  15. """The Bridge Type"""
  16. desc_type.label:
  17. """Bridge Type"""
  18. local_topic.desc:
  19. """The MQTT topic filter to be forwarded to DynamoDB. All MQTT `PUBLISH` messages with the topic
  20. matching the `local_topic` will be forwarded.<br/>
  21. NOTE: if this bridge is used as the action of a rule (EMQX rule engine), and also `local_topic` is
  22. configured, then both the data got from the rule and the MQTT messages that match `local_topic`
  23. will be forwarded."""
  24. local_topic.label:
  25. """Local Topic"""
  26. template.desc:
  27. """Template, the default value is empty. When this value is empty the whole message will be stored in the database.<br>
  28. The template can be any valid JSON with placeholders and make sure all keys for table are here, example:<br>
  29. <code>{"id" : "${id}", "clientid" : "${clientid}", "data" : "${payload.data}"}</code>"""
  30. template.label:
  31. """Template"""
  32. action_parameters.desc:
  33. """Action specific configuration."""
  34. action_parameters.label:
  35. """Action"""
  36. dynamo_action.desc:
  37. """Configuration for DynamoDB action."""
  38. dynamo_action.label:
  39. """DynamoDB Action Configuration"""
  40. config_connector.desc:
  41. """Configuration for an DynamoDB connector."""
  42. config_connector.label:
  43. """DynamoDB Connector Configuration"""
  44. hash_key.desc:
  45. """DynamoDB Hash Key"""
  46. range_key.desc:
  47. """DynamoDB Range Key"""
  48. }