TopicArgs

data class TopicArgs(val path: Output<String>, val retain: Output<Either<String, TopicRetainType>>? = null) : ConvertibleToJava<TopicArgs>

Object that describes the topic information.

Constructors

Link copied to clipboard
constructor(path: Output<String>, retain: Output<Either<String, TopicRetainType>>? = null)

Properties

Link copied to clipboard
val path: Output<String>

The topic path for messages published to an MQTT broker.

Link copied to clipboard
val retain: Output<Either<String, TopicRetainType>>? = null

When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.

Functions

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