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

com.pulumi.awsnative.iotevents.kotlin.outputs.AlarmModelPayload.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

/**
 * 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 alarm model instance and the event triggered the action. To configure the action payload, you can use `contentExpression`.
 * @property contentExpression The content of the payload. You can use a string expression that includes quoted strings (`''`), variables (`$variable.`), input values (`$input..`), string concatenations, and quoted strings that contain `${}` as the content. The recommended maximum size of a content expression is 1 KB.
 * @property type The value of the payload type can be either `STRING` or `JSON`.
 */
public data class AlarmModelPayload(
    public val contentExpression: String,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.AlarmModelPayload): AlarmModelPayload = AlarmModelPayload(
            contentExpression = javaType.contentExpression(),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy