View a markdown version of this page

InfluxDBBatchConfig - Amazon IoT
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

InfluxDBBatchConfig

The batching configuration of an InfluxDB rule action. Amazon IoT closes a batch and writes it to InfluxDB when the first of the configured limits is reached.

Contents

batchAcrossTopics

Specifies whether to collect data points from different topics into the same batch.

If omitted or false, Amazon IoT batches data points for each topic separately.

Type: Boolean

Required: No

maxBatchOpenMs

The maximum length of time, in milliseconds, to keep a batch open before writing it to InfluxDB.

If you don't specify a value, this limit doesn't apply. Amazon IoT then closes each batch when another configured limit is reached.

Type: Integer

Valid Range: Minimum value of 5. Maximum value of 1000.

Required: No

maxBatchSize

The maximum number of data points to collect in a batch.

If you don't specify a value, this limit doesn't apply. Amazon IoT then closes each batch when another configured limit is reached.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 500.

Required: No

maxBatchSizeBytes

The maximum size of a batch, in bytes, before Amazon IoT writes it to InfluxDB.

If you don't specify a value, this limit doesn't apply. Amazon IoT then closes each batch when another configured limit is reached.

Type: Integer

Valid Range: Minimum value of 100. Maximum value of 131072.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: