Creates a notification rule. You can call the CreateNotificationConfiguration operation to create a notification rule to stay informed about scaling events or resource changes. This helps you learn about the dynamic status of your scaling group in real time and further automates the management of scaling events.
Operation description
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ScalingGroupId | string | Yes | The ID of the scaling group. | asg-bp1igpak5ft1flyp**** |
NotificationArn | string | Yes | The Alibaba Cloud Resource Name (ARN) of the notification method. The following list describes the value formats of this parameter:
The variables in the preceding formats have the following meanings:
| acs:mns:cn-beijing:161456884340****:queue/modifyLifecycleHo**** |
NotificationTypes | array | Yes | The types of the notifications that you want to create. You can create one to eight notifications. Specify multiple values in the repeated list form. You can call the DescribeNotificationTypes operation to query the values of this parameter. | |
string | Yes | The types of the notifications that you want to create. You can create one to eight notifications. Specify multiple values in the repeated list form. You can call the DescribeNotificationTypes operation to query the values of this parameter. | AUTOSCALING:SCALE_OUT_SUCCESS | |
RegionId | string | No | The region ID of the scaling group. | cn-beijing |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|