ALIYUN::CMS::MonitorGroup is used to create an application group.
Syntax
{
"Type": "ALIYUN::CMS::MonitorGroup",
"Properties": {
"ContactGroups": String,
"GroupName": String
}
}
Properties
Name | Type | Required | Editable | Description | Validity |
---|---|---|---|---|---|
ContactGroups | String | No | Yes | The alert contact group to which alert notifications will be sent. | None |
GroupName | String | Yes | Yes | The name of the application group to be created. | None |
Response parameters
Fn::GetAtt
GroupId: the ID of the created application group.
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Resources": { "MonitorGroup": { "Type": "ALIYUN::CMS::MonitorGroup", "Properties": { "GroupName": "DemoGroup" } } }, "Outputs": { "GroupId": { "Description": "Application group ID generated after the group is created. ", "Value": { "Fn::GetAtt": [ "MonitorGroup", "GroupId" ] } } } }