InfluxDbAction

The InfluxDB rule action converts the message payload into InfluxDB line protocol. It writes the result to a table in an InfluxDB database. The database can be an Amazon Timestream for InfluxDB instance or a self-managed InfluxDB cluster.

The action connects to InfluxDB through an InfluxDB topic rule destination, which must be in the ENABLED state before the action can write data.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The batching configuration for the action. When present, IoT collects data points from multiple messages and writes them to InfluxDB in a single request.

Link copied to clipboard

The name of the InfluxDB database to write to. In InfluxDB 2, this is the name of the bucket.

Link copied to clipboard

The ARN of the InfluxDB topic rule destination that identifies the InfluxDB instance to write to.

Link copied to clipboard

The name of the InfluxDB organization that owns the database.

Link copied to clipboard

The ARN of the role that grants permission to retrieve the InfluxDB API token from Amazon Web Services Secrets Manager.

Link copied to clipboard

The name of the table to write the data point to. This is the measurement name of the InfluxDB line protocol record.

Link copied to clipboard

The set of tags to write with each data point. Tags are the indexed metadata of an InfluxDB data point.

Link copied to clipboard

The precision of the timestamp written with each data point. Valid values are s (seconds), ms (milliseconds), us (microseconds), and ns (nanoseconds).

Functions

Link copied to clipboard
inline fun copy(block: InfluxDbAction.Builder.() -> Unit = {}): InfluxDbAction
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String