Skip to content

RosResourceMetricRuleProps

Properties for defining a RosResourceMetricRule.

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

Initializer

import ros_cdk_cms
ros_cdk_cms.RosResourceMetricRuleProps(
  contact_groups: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  escalations: typing.Union[IResolvable, EscalationsProperty],
  metric_name: typing.Union[str, IResolvable],
  namespace: typing.Union[str, IResolvable],
  resources: typing.Union[IResolvable, typing.List[typing.Mapping[typing.Any]]],
  composite_expression: typing.Union[IResolvable, CompositeExpressionProperty] = None,
  deletion_force: typing.Union[bool, IResolvable] = None,
  effective_interval: typing.Union[str, IResolvable] = None,
  email_subject: typing.Union[str, IResolvable] = None,
  interval: typing.Union[typing.Union[int, float], IResolvable] = None,
  labels: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelsProperty]]] = None,
  no_data_policy: typing.Union[str, IResolvable] = None,
  no_effective_interval: typing.Union[str, IResolvable] = None,
  period: typing.Union[typing.Union[int, float], IResolvable] = None,
  prometheus: typing.Union[IResolvable, PrometheusProperty] = None,
  rule_id: typing.Union[str, IResolvable] = None,
  rule_name: typing.Union[str, IResolvable] = None,
  silence_time: typing.Union[typing.Union[int, float], IResolvable] = None,
  webhook: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
contact_groups typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] No description.
escalations typing.Union[ros_cdk_core.IResolvable, EscalationsProperty] No description.
metric_name typing.Union[str, ros_cdk_core.IResolvable] No description.
namespace typing.Union[str, ros_cdk_core.IResolvable] No description.
resources typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Mapping[typing.Any]]] No description.
composite_expression typing.Union[ros_cdk_core.IResolvable, CompositeExpressionProperty] No description.
deletion_force typing.Union[bool, ros_cdk_core.IResolvable] No description.
effective_interval typing.Union[str, ros_cdk_core.IResolvable] No description.
email_subject typing.Union[str, ros_cdk_core.IResolvable] No description.
interval typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
labels typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LabelsProperty]]] No description.
no_data_policy typing.Union[str, ros_cdk_core.IResolvable] No description.
no_effective_interval typing.Union[str, ros_cdk_core.IResolvable] No description.
period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
prometheus typing.Union[ros_cdk_core.IResolvable, PrometheusProperty] No description.
rule_id typing.Union[str, ros_cdk_core.IResolvable] No description.
rule_name typing.Union[str, ros_cdk_core.IResolvable] No description.
silence_time typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
webhook typing.Union[str, ros_cdk_core.IResolvable] No description.

contact_groupsRequired

contact_groups: 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]]]

escalationsRequired

escalations: typing.Union[IResolvable, EscalationsProperty]

metric_nameRequired

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

namespaceRequired

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

resourcesRequired

resources: typing.Union[IResolvable, typing.List[typing.Mapping[typing.Any]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Mapping[typing.Any]]]

composite_expressionOptional

composite_expression: typing.Union[IResolvable, CompositeExpressionProperty]

deletion_forceOptional

deletion_force: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

effective_intervalOptional

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

email_subjectOptional

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

intervalOptional

interval: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

labelsOptional

labels: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LabelsProperty]]]

no_data_policyOptional

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

no_effective_intervalOptional

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

periodOptional

period: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

prometheusOptional

prometheus: typing.Union[IResolvable, PrometheusProperty]

rule_idOptional

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

rule_nameOptional

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

silence_timeOptional

silence_time: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

webhookOptional

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