DetectorModelDynamoDBv2Args

data class DetectorModelDynamoDBv2Args(val payload: Output<DetectorModelPayloadArgs>? = null, val tableName: Output<String>) : ConvertibleToJava<DetectorModelDynamoDBv2Args>

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: Output<DetectorModelPayloadArgs>? = null, tableName: Output<String>)

Properties

Link copied to clipboard
val payload: Output<DetectorModelPayloadArgs>? = null

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
val tableName: Output<String>

The name of the DynamoDB table.

Functions

Link copied to clipboard
open override fun toJava(): DetectorModelDynamoDBv2Args