AlarmTaskProps
Properties for defining a AlarmTask.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-alarmtask
Initializer
import ros_cdk_ess
ros_cdk_ess.AlarmTaskProps(
alarm_action: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
metric_name: typing.Union[str, IResolvable],
scaling_group_id: typing.Union[str, IResolvable],
threshold: typing.Union[typing.Union[int, float], IResolvable],
comparison_operator: typing.Union[str, IResolvable] = None,
description: typing.Union[str, IResolvable] = None,
dimensions: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DimensionsProperty]]] = None,
evaluation_count: typing.Union[typing.Union[int, float], IResolvable] = None,
group_id: typing.Union[typing.Union[int, float], IResolvable] = None,
metric_type: typing.Union[str, IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
period: typing.Union[typing.Union[int, float], IResolvable] = None,
statistics: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
alarm_action |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property alarmAction: Alarm Actions. |
metric_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property metricName: Metric Name. |
scaling_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property scalingGroupId: The ID of the scaling group. |
threshold |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property threshold: Threshold. |
comparison_operator |
typing.Union[str, ros_cdk_core.IResolvable] |
Property comparisonOperator: Comparison Operator. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: Description. |
dimensions |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DimensionsProperty]]] |
Property dimensions: Dimensions. |
evaluation_count |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property evaluationCount: Evaluation Count. |
group_id |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property groupId: Group Id. |
metric_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property metricType: Metric Type. |
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: Name. |
period |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property period: Period. |
statistics |
typing.Union[str, ros_cdk_core.IResolvable] |
Property statistics: Statistics. |
alarm_actionRequired
alarm_action: 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 alarmAction: Alarm Actions.
metric_nameRequired
metric_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property metricName: Metric Name.
scaling_group_idRequired
scaling_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property scalingGroupId: The ID of the scaling group.
thresholdRequired
threshold: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property threshold: Threshold.
comparison_operatorOptional
comparison_operator: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property comparisonOperator: Comparison Operator.
descriptionOptional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: Description.
dimensionsOptional
dimensions: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DimensionsProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DimensionsProperty]]]
Property dimensions: Dimensions.
evaluation_countOptional
evaluation_count: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property evaluationCount: Evaluation Count.
group_idOptional
group_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property groupId: Group Id.
metric_typeOptional
metric_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property metricType: Metric Type.
nameOptional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: Name.
periodOptional
period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property period: Period.
statisticsOptional
statistics: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property statistics: Statistics.