CreateOrUpdateRuleGroupDto

Prev Next

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
  • 1 or more
  • Multiple entries allowed
monitorGroupKey List Required Monitoring target group ID
  • 1 or more
  • Multiple entries allowed
prodKey String Required cw_key of the product
groupName String Required Event rule name
  • 1-1000
  • It can't be changed on update and requires entry with existing value.
groupDesc String Optional Event rule description
  • 300 or less
recipientNotifications List<RecipientNotification> Optional Notification recipient group
  • Multiple entries allowed
personalNotificationRecipients List<PersonalRecipientNotification> Optional Notification recipients
  • Multiple entries allowed
asgPolicyList List<AsgPolicy> Optional Autoscaling group policy
  • Multiple entries allowed
suspendRuleItems Set<SuspendRuleItemDto> Optional Set the list to disable during an event rule.
cfTriggers Set<String> Optional To be provided in the future