Skip to content

RuleProps

Properties for defining a Rule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-eventbridge-rule

Initializer

using AlibabaCloud.SDK.ROS.CDK.Eventbridge;
new RuleProps {
    object EventBusName,
    object FilterPattern,
    object RuleName,
    object Targets,
    object Description = null,
    object Status = null
};

Properties

Name Type Description
EventBusName object Property eventBusName: The name of the event bus.
FilterPattern object Property filterPattern: The event pattern, in the JSON format.
RuleName object Property ruleName: The name of the event rule.
Targets object Property targets: The event target to which events are delivered.
Description object Property description: The description of the event rule.
Status object Property status: The status of the event rule.

EventBusNameRequired

public object EventBusName { get; set; }
  • Type: object

Property eventBusName: The name of the event bus.


FilterPatternRequired

public object FilterPattern { get; set; }
  • Type: object

Property filterPattern: The event pattern, in the JSON format.


RuleNameRequired

public object RuleName { get; set; }
  • Type: object

Property ruleName: The name of the event rule.


TargetsRequired

public object Targets { get; set; }
  • Type: object

Property targets: The event target to which events are delivered.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description of the event rule.


StatusOptional

public object Status { get; set; }
  • Type: object

Property status: The status of the event rule.

Valid values: ENABLE: The event rule is enabled. It is the default state of the event rule. DISABLE: The event rule is disabled.