EventRuleProps
Properties for defining a EventRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-eventrule
Initializer
import { EventRuleProps } from '@alicloud/ros-cdk-cms'
const eventRuleProps: EventRuleProps = { ... }
Properties
Name | Type | Description |
---|---|---|
eventPattern |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | EventPatternProperty[] |
Property eventPattern: Event pattern configuration.A maximum of 20 event patterns. |
ruleName |
string | @alicloud/ros-cdk-core.IResolvable |
Property ruleName: The name of the alarm rule. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: The description of the alert rule. |
eventType |
string | @alicloud/ros-cdk-core.IResolvable |
Property eventType: The type of the event alert. |
groupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property groupId: The ID of the application group. |
state |
string | @alicloud/ros-cdk-core.IResolvable |
Property state: The status of the alert rule. |
eventPattern
Required
public readonly eventPattern: IResolvable | IResolvable | EventPatternProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | EventPatternProperty[]
Property eventPattern: Event pattern configuration.A maximum of 20 event patterns.
ruleName
Required
public readonly ruleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ruleName: The name of the alarm rule.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the alert rule.
eventType
Optional
public readonly eventType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property eventType: The type of the event alert.
Valid values: SYSTEM CUSTOM
groupId
Optional
public readonly groupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property groupId: The ID of the application group.
state
Optional
public readonly state: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property state: The status of the alert rule.
Valid values: ENABLED DISABLED