WebPubSubHubPropertiesArgs

data class WebPubSubHubPropertiesArgs(val anonymousConnectPolicy: Output<String>? = null, val eventHandlers: Output<List<EventHandlerArgs>>? = null, val eventListeners: Output<List<EventListenerArgs>>? = null) : ConvertibleToJava<WebPubSubHubPropertiesArgs>

Properties of a hub.

Constructors

Link copied to clipboard
constructor(anonymousConnectPolicy: Output<String>? = null, eventHandlers: Output<List<EventHandlerArgs>>? = null, eventListeners: Output<List<EventListenerArgs>>? = null)

Properties

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

The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".

Link copied to clipboard
val eventHandlers: Output<List<EventHandlerArgs>>? = null

Event handler of a hub.

Link copied to clipboard
val eventListeners: Output<List<EventListenerArgs>>? = null

Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.

Functions

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