RuleArgs

data class RuleArgs(val description: Output<String>? = null, val eventBusName: Output<String>? = null, val filterPattern: Output<String>? = null, val ruleName: Output<String>? = null, val status: Output<String>? = null, val targets: Output<List<RuleTargetArgs>>? = null) : ConvertibleToJava<RuleArgs>

Provides a Event Bridge Rule resource. For information about Event Bridge Rule and how to use it, see What is Rule.

NOTE: Available since v1.129.0.

Import

Event Bridge Rule can be imported using the id, e.g.

$ pulumi import alicloud:eventbridge/rule:Rule example <event_bus_name>:<rule_name>

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, eventBusName: Output<String>? = null, filterPattern: Output<String>? = null, ruleName: Output<String>? = null, status: Output<String>? = null, targets: Output<List<RuleTargetArgs>>? = null)

Properties

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

The description of the event rule.

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

The name of the event bus.

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

The pattern to match interested events. Event mode, JSON format. The value description is as follows: stringEqual mode. stringExpression mode. Each field has up to 5 expressions (map structure).

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

The name of the event rule.

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

The status of the event rule. Valid values: ENABLE, DISABLE.

Link copied to clipboard
val targets: Output<List<RuleTargetArgs>>? = null

The targets of rule. See targets below.

Functions

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