All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iotevents.kotlin.outputs.AlarmModelDynamoDBv2.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotevents.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * 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 alarm model instance and the event that triggered the action. You can also customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). 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](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *AWS IoT Events Developer Guide*.
 * @property payload
 * @property tableName The name of the DynamoDB table.
 */
public data class AlarmModelDynamoDBv2(
    public val payload: AlarmModelPayload? = null,
    public val tableName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.AlarmModelDynamoDBv2): AlarmModelDynamoDBv2 = AlarmModelDynamoDBv2(
            payload = javaType.payload().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotevents.kotlin.outputs.AlarmModelPayload.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tableName = javaType.tableName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy