ALIYUN::CMS::EventRuleTargets is used to add or change the recipients to which alert notifications are sent based on an event-triggered alert rule.
Syntax
{
"Type": "ALIYUN::CMS::EventRuleTargets",
"Properties": {
"FcParameters": List,
"WebhookParameters": List,
"MnsParameters": List,
"ContactParameters": List,
"RuleName": String,
"SlsParameters": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
FcParameters | List | No | Yes | The list of Function Compute properties. | The list can contain up to five properties. For more information, see FcParameters properties. |
WebhookParameters | List | No | Yes | The list of webhook properties. | The list can contain up to five properties. For more information, see WebhookParameters properties. |
MnsParameters | List | No | Yes | The list of Message Service (MNS) properties. | The list can contain up to five properties. For more information, see MnsParameters properties. |
ContactParameters | List | No | Yes | The list of contact properties. | For more information, see ContactParameters properties. |
RuleName | String | Yes | No | The name of the alert rule. | None. |
SlsParameters | List | No | Yes | The list of Log Service properties. | The list can contain up to five properties. For more information, see SlsParameters properties. |
FcParameters syntax
"FcParameters": [
{
"Region": String,
"ServiceName": String,
"Id": String,
"FunctionName": String
}
]
FcParameters properties
Property | Type | Required | Editable | Description | Constraint |
Region | String | No | Yes | The region where Function Compute is deployed. | None. |
ServiceName | String | No | Yes | The name of the service in Function Compute. | None. |
Id | String | No | Yes | The ID of the recipient who you want to add or change. | None. |
FunctionName | String | No | Yes | The name of the function. | None. |
WebhookParameters syntax
"WebhookParameters": [
{
"Url": String,
"Protocol": String,
"Id": String,
"Method": String
}
]
WebhookParameters properties
Property | Type | Required | Editable | Description | Constraint |
Url | String | No | Yes | The callback URL. | None. |
Protocol | String | No | Yes | The name of the protocol. | None. |
Id | String | No | Yes | The ID of the recipient who you want to add or change. | None. |
Method | String | No | Yes | The request method of the HTTP callback. | Valid values:
|
MnsParameters syntax
"MnsParameters": [
{
"Queue": String,
"Region": String,
"Id": String
}
]
MnsParameters properties
Property | Type | Required | Editable | Description | Constraint |
Queue | String | No | Yes | The name of the queue. | None. |
Region | String | No | Yes | The region where MNS is deployed. | None. |
Id | String | No | Yes | The ID of the recipient who you want to add or change. | None. |
ContactParameters syntax
"ContactParameters": [
{
"ContactGroupName": String,
"Id": String,
"Level": String
}
]
ContactParameters properties
Property | Type | Required | Editable | Description | Constraint |
ContactGroupName | String | No | Yes | The name of the alert contact group. | None. |
Id | String | No | Yes | The ID of the recipient who you want to add or change. | None. |
Level | String | No | Yes | The level of the alert notification. | Valid values:
Alert notifications are sent by using DingTalk and emails. |
SlsParameters syntax
"SlsParameters": [
{
"Project": String,
"LogStore": String,
"Region": String,
"Id": String
}
]
SlsParameters properties
Property | Type | Required | Editable | Description | Constraint |
Project | String | No | Yes | The name of the project in Log Service. | None. |
LogStore | String | No | Yes | The name of the Logstore in Log Service. | None. |
Region | String | No | Yes | The region where Log Service is deployed. | None. |
Id | String | No | Yes | The ID of the recipient who you want to add or change. | None. |
Return values
Fn::GetAtt
None.