Skip to content

MetricRuleTargetsProps

Properties for defining a MetricRuleTargets.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-metricruletargets

Initializer

import ros_cdk_cms
ros_cdk_cms.MetricRuleTargetsProps(
  rule_id: typing.Union[str, IResolvable],
  targets: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, TargetsProperty]]]
)

Properties

Name Type Description
rule_id typing.Union[str, ros_cdk_core.IResolvable] Property ruleId: The ID of the alert rule.
targets typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, TargetsProperty]]] Property targets: undefined.

rule_idRequired

rule_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property ruleId: The ID of the alert rule.


targetsRequired

targets: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, TargetsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, TargetsProperty]]]

Property targets: undefined.