AlarmModelDynamoDbArgs

data class AlarmModelDynamoDbArgs(val hashKeyField: Output<String>, val hashKeyType: Output<String>? = null, val hashKeyValue: Output<String>, val operation: Output<String>? = null, val payload: Output<AlarmModelPayloadArgs>? = null, val payloadField: Output<String>? = null, val rangeKeyField: Output<String>? = null, val rangeKeyType: Output<String>? = null, val rangeKeyValue: Output<String>? = null, val tableName: Output<String>) : ConvertibleToJava<AlarmModelDynamoDbArgs>

Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the alarm model instance and the event that triggered the action. You can also customize the payload. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.

Constructors

Link copied to clipboard
fun AlarmModelDynamoDbArgs(hashKeyField: Output<String>, hashKeyType: Output<String>? = null, hashKeyValue: Output<String>, operation: Output<String>? = null, payload: Output<AlarmModelPayloadArgs>? = null, payloadField: Output<String>? = null, rangeKeyField: Output<String>? = null, rangeKeyType: Output<String>? = null, rangeKeyValue: Output<String>? = null, tableName: Output<String>)

Functions

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

Properties

Link copied to clipboard
val hashKeyField: Output<String>

The name of the hash key (also called the partition key).

Link copied to clipboard
val hashKeyType: Output<String>? = null

The data type for the hash key (also called the partition key). You can specify the following values:

Link copied to clipboard
val hashKeyValue: Output<String>

The value of the hash key (also called the partition key).

Link copied to clipboard
val operation: Output<String>? = null

The type of operation to perform. You can specify the following values:

Link copied to clipboard
val payload: Output<AlarmModelPayloadArgs>? = null
Link copied to clipboard
val payloadField: Output<String>? = null

The name of the DynamoDB column that receives the action payload. If you don't specify this parameter, the name of the DynamoDB column is payload.

Link copied to clipboard
val rangeKeyField: Output<String>? = null

The name of the range key (also called the sort key).

Link copied to clipboard
val rangeKeyType: Output<String>? = null

The data type for the range key (also called the sort key), You can specify the following values:

Link copied to clipboard
val rangeKeyValue: Output<String>? = null

The value of the range key (also called the sort key).

Link copied to clipboard
val tableName: Output<String>

The name of the DynamoDB table.