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

com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleRepublishAction.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.iot.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property headers MQTT Version 5.0 headers information. For more information, see [MQTT](https://docs.aws.amazon.com//iot/latest/developerguide/mqtt.html) in the IoT Core Developer Guide.
 * @property qos The Quality of Service (QoS) level to use when republishing messages. The default value is 0.
 * @property roleArn The ARN of the IAM role that grants access.
 * @property topic The name of the MQTT topic.
 */
public data class TopicRuleRepublishAction(
    public val headers: TopicRuleRepublishActionHeaders? = null,
    public val qos: Int? = null,
    public val roleArn: String,
    public val topic: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleRepublishAction): TopicRuleRepublishAction = TopicRuleRepublishAction(
            headers = javaType.headers().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleRepublishActionHeaders.Companion.toKotlin(args0)
                })
            }).orElse(null),
            qos = javaType.qos().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn(),
            topic = javaType.topic(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy