EventHandlerTemplateArgs

data class EventHandlerTemplateArgs(val auth: Output<UpstreamAuthSettingsArgs>? = null, val systemEventPattern: Output<String>? = null, val urlTemplate: Output<String>, val userEventPattern: Output<String>? = null) : ConvertibleToJava<EventHandlerTemplateArgs>

EventHandler template item settings.

Constructors

Link copied to clipboard
constructor(auth: Output<UpstreamAuthSettingsArgs>? = null, systemEventPattern: Output<String>? = null, urlTemplate: Output<String>, userEventPattern: Output<String>? = null)

Properties

Link copied to clipboard
val auth: Output<UpstreamAuthSettingsArgs>? = null

Gets or sets the auth settings for an event handler. If not set, no auth is used.

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

Gets ot sets the system event pattern. There are 2 kind of patterns supported: 1. The single event name, for example, "connect", it matches "connect" 2. Combine multiple events with ",", for example "connect,disconnected", it matches event "connect" and "disconnected"

Link copied to clipboard
val urlTemplate: Output<String>

Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. For example, UrlTemplate can be http://example.com/api/{hub}/{event}. The host part can't contains parameters.

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

Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The single event name, for example, "event1", it matches "event1"

Functions

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