BrokerResourceRuleArgs

data class BrokerResourceRuleArgs(val clientIds: Output<List<String>>? = null, val method: Output<Either<String, BrokerResourceDefinitionMethods>>, val topics: Output<List<String>>? = null) : ConvertibleToJava<BrokerResourceRuleArgs>

Broker Resource Rule properties. This defines the objects that represent the actions or topics, such as - method.Connect, method.Publish, etc.

Constructors

Link copied to clipboard
constructor(clientIds: Output<List<String>>? = null, method: Output<Either<String, BrokerResourceDefinitionMethods>>, topics: Output<List<String>>? = null)

Properties

Link copied to clipboard
val clientIds: Output<List<String>>? = null

A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect.

Link copied to clipboard

Give access for a Broker method (i.e., Connect, Subscribe, or Publish).

Link copied to clipboard
val topics: Output<List<String>>? = null

A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.

Functions

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