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_action
Required
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_name
Required
metric_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property metricName: Metric Name.
scaling_group_id
Required
scaling_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property scalingGroupId: The ID of the scaling group.
threshold
Required
threshold: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property threshold: Threshold.
comparison_operator
Optional
comparison_operator: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property comparisonOperator: Comparison Operator.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: Description.
dimensions
Optional
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_count
Optional
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_id
Optional
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_type
Optional
metric_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property metricType: Metric Type.
name
Optional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: Name.
period
Optional
period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property period: Period.
statistics
Optional
statistics: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property statistics: Statistics.