Skip to content

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.

eventPatternRequired

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.


ruleNameRequired

public readonly ruleName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ruleName: The name of the alarm rule.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the alert rule.


eventTypeOptional

public readonly eventType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property eventType: The type of the event alert.

Valid values: SYSTEM CUSTOM


groupIdOptional

public readonly groupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property groupId: The ID of the application group.


stateOptional

public readonly state: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property state: The status of the alert rule.

Valid values: ENABLED DISABLED