Rule

class Rule : KotlinCustomResource

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>

Properties

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

The description of the event rule.

Link copied to clipboard
val eventBusName: Output<String>

The name of the event bus.

Link copied to clipboard
val filterPattern: Output<String>

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 id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ruleName: Output<String>

The name of the event rule.

Link copied to clipboard
val status: Output<String>

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

Link copied to clipboard
val targets: Output<List<RuleTarget>>

The targets of rule. See targets below.

Link copied to clipboard
val urn: Output<String>