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

com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleSnsAction.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iot.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property messageFormat (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. For more information, see [Amazon SNS Message and JSON Formats](https://docs.aws.amazon.com/sns/latest/dg/json-formats.html) in the *Amazon Simple Notification Service Developer Guide* .
 * @property roleArn The ARN of the IAM role that grants access.
 * @property targetArn The ARN of the SNS topic.
 */
public data class TopicRuleSnsAction(
    public val messageFormat: String? = null,
    public val roleArn: String,
    public val targetArn: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleSnsAction): TopicRuleSnsAction = TopicRuleSnsAction(
            messageFormat = javaType.messageFormat().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn(),
            targetArn = javaType.targetArn(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy