RuleProps
Properties for defining a Rule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-eventbridge-rule
Initializer
import com.aliyun.ros.cdk.eventbridge.RuleProps;
RuleProps.builder()
.eventBusName(java.lang.String)
.eventBusName(IResolvable)
.filterPattern(IResolvable)
.filterPattern(java.util.Map<java.lang.String, java.lang.Object>)
.ruleName(java.lang.String)
.ruleName(IResolvable)
.targets(IResolvable)
.targets(java.util.List<IResolvable)
.targets(TargetsProperty>)
// .description(java.lang.String)
// .description(IResolvable)
// .status(java.lang.String)
// .status(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
eventBusName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property eventBusName: The name of the event bus. |
filterPattern |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property filterPattern: The event pattern, in the JSON format. |
ruleName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ruleName: The name of the event rule. |
targets |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property targets: The event target to which events are delivered. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the event rule. |
status |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property status: The status of the event rule. |
eventBusName
Required
public java.lang.Object getEventBusName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property eventBusName: The name of the event bus.
filterPattern
Required
public java.lang.Object getFilterPattern();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property filterPattern: The event pattern, in the JSON format.
ruleName
Required
public java.lang.Object getRuleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ruleName: The name of the event rule.
targets
Required
public java.lang.Object getTargets();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
TargetsProperty>
Property targets: The event target to which events are delivered.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the event rule.
status
Optional
public java.lang.Object getStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.