DynamicTagGroupProps
Properties for defining a DynamicTagGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-dynamictaggroup
Initializer
import ros_cdk_cms
ros_cdk_cms.DynamicTagGroupProps(
contact_group_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
tag_key: typing.Union[str, IResolvable],
enable_install_agent: typing.Union[bool, IResolvable] = None,
enable_subscribe_event: typing.Union[bool, IResolvable] = None,
match_express: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, MatchExpressProperty]]] = None,
match_express_filter_relation: typing.Union[str, IResolvable] = None,
template_id_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)
Properties
| Name | Type | Description |
|---|---|---|
contact_group_list | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] | Property contactGroupList: The alert contact groups. |
tag_key | typing.Union[str, ros_cdk_core.IResolvable] | Property tagKey: Tag key. |
enable_install_agent | typing.Union[bool, ros_cdk_core.IResolvable] | Property enableInstallAgent: Whether to enable initial installation monitoring plug, not installed by default. |
enable_subscribe_event | typing.Union[bool, ros_cdk_core.IResolvable] | Property enableSubscribeEvent: Specifies whether to automatically subscribe to event notifications for the application group. |
match_express | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, MatchExpressProperty]]] | Property matchExpress: The match expressions that are used to create an application group from tags. |
match_express_filter_relation | typing.Union[str, ros_cdk_core.IResolvable] | Property matchExpressFilterRelation: The relationship between the conditional expressions for the tag values. |
template_id_list | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] | Property templateIdList: The ID of the alert template. |
contact_group_listRequired
contact_group_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property contactGroupList: The alert contact groups.
The value of N can be from 1 to 100. Alert notifications for the application group are sent to the alert contacts in these alert contact groups. An alert contact group can contain one or more alert contacts. For more information about how to create alert contacts and alert contact groups, see PutContact and PutContactGroup. For more information about how to obtain alert contact groups, see DescribeContactGroupList.
tag_keyRequired
tag_key: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property tagKey: Tag key.
enable_install_agentOptional
enable_install_agent: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enableInstallAgent: Whether to enable initial installation monitoring plug, not installed by default.
Values are: true: enable installation Note If ECS generated instances group does not monitor plug-in installed will attempt to automatically install. false: disable installation
enable_subscribe_eventOptional
enable_subscribe_event: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enableSubscribeEvent: Specifies whether to automatically subscribe to event notifications for the application group.
When a critical or warning event occurs on a resource in the application group, CloudMonitor sends an alert notification. Valid values:
- true: enabled.
- false (default): disabled.
match_expressOptional
match_express: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, MatchExpressProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, MatchExpressProperty]]]
Property matchExpress: The match expressions that are used to create an application group from tags.
match_express_filter_relationOptional
match_express_filter_relation: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property matchExpressFilterRelation: The relationship between the conditional expressions for the tag values.
Valid values:
- and (default)
- or
template_id_listOptional
template_id_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property templateIdList: The ID of the alert template.
For more information about how to query the IDs of alert templates, see DescribeMetricRuleTemplateList.