CloudWatchAlarmConfiguration class

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

Constructors

CloudWatchAlarmConfiguration({required ComparisonOperator comparisonOperator, required int evaluationPeriods, required String metricName, required String namespace, required int period, required Statistic statistic, required double threshold, List<Dimension>? dimensions})
CloudWatchAlarmConfiguration.fromXml(XmlElement elem)
factory

Properties

comparisonOperator ComparisonOperator
For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison.
final
dimensions List<Dimension>?
For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric. For information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.
final
evaluationPeriods int
For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold.
final
hashCode int
The hash code for this object.
no setterinherited
metricName String
The name of the CloudWatch metric that the alarm is associated with.
final
namespace String
The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.
final
period int
For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statistic Statistic
For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric.
final
threshold double
For the metric that the CloudWatch alarm is associated with, the value the metric is compared with.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited