Available in Classic and VPC
Create or edit an event rule.
Syntax
The syntax is as follows:
private String id;
private List<String> metricsGroupKey;
private List<String> monitorGroupKey;
private String prodKey;
private String groupName;
private String groupDesc;
private List<RecipientNotification> recipientNotifications;
private List<PersonalRecipientNotification> personalNotificationRecipients;
private List<AsgPolicy> asgPolicyList;
private Set<SuspendRuleItemDto> suspendRuleItems;
private Set<String> cfTriggers;
Field
The following describes the fields:
Field | Type | Required | Description |
---|---|---|---|
id |
String | Optional | Event Rule ID |
metricsGroupKey |
List |
Required | Monitoring item group ID
|
monitorGroupKey |
List |
Required | Monitoring target group ID
|
prodKey |
String | Required | cw_key of the product |
groupName |
String | Required | Event rule name
|
groupDesc |
String | Optional | Event rule description
|
recipientNotifications |
List<RecipientNotification> | Optional | Notification recipient group
|
personalNotificationRecipients |
List<PersonalRecipientNotification> | Optional | Notification recipients
|
asgPolicyList |
List<AsgPolicy> | Optional | Autoscaling group policy
|
suspendRuleItems |
Set<SuspendRuleItemDto> | Optional | Set the list to disable during an event rule. |
cfTriggers |
Set<String> | Optional | To be provided in the future |