DetectorModelDynamoDBv2

data class DetectorModelDynamoDBv2(val payload: DetectorModelPayload? = null, val tableName: String)

Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can also customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. You can use expressions for parameters that are strings. For more information, see Expressions in the AWS IoT Events Developer Guide.

Constructors

Link copied to clipboard
constructor(payload: DetectorModelPayload? = null, tableName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Information needed to configure the payload. By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use contentExpression .

Link copied to clipboard

The name of the DynamoDB table.