RuleProps
Properties for defining a Rule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-eventbridge-rule
Initializer
import { RuleProps } from '@alicloud/ros-cdk-eventbridge'
const ruleProps: RuleProps = { ... }
Properties
Name | Type | Description |
---|---|---|
eventBusName |
string | @alicloud/ros-cdk-core.IResolvable |
Property eventBusName: The name of the event bus. |
filterPattern |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property filterPattern: The event pattern, in the JSON format. |
ruleName |
string | @alicloud/ros-cdk-core.IResolvable |
Property ruleName: The name of the event rule. |
targets |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | TargetsProperty[] |
Property targets: The event target to which events are delivered. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: The description of the event rule. |
status |
string | @alicloud/ros-cdk-core.IResolvable |
Property status: The status of the event rule. |
eventBusName
Required
public readonly eventBusName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property eventBusName: The name of the event bus.
filterPattern
Required
public readonly filterPattern: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property filterPattern: The event pattern, in the JSON format.
ruleName
Required
public readonly ruleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ruleName: The name of the event rule.
targets
Required
public readonly targets: IResolvable | IResolvable | TargetsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | TargetsProperty[]
Property targets: The event target to which events are delivered.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the event rule.
status
Optional
public readonly status: string | IResolvable;
- Type: string | @alicloud/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.