NAME
Paws::CloudWatch::MetricAlarm
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CloudWatch::MetricAlarm object:
$service_obj->Method(Att1 => { ActionsEnabled => $value, ..., Unit => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::MetricAlarm object:
$result = $service_obj->Method(...);
$result->Att1->ActionsEnabled
DESCRIPTION
The details about a metric alarm.
ATTRIBUTES
ActionsEnabled => Bool
Indicates whether actions should be executed during any changes to the alarm state.
AlarmActions => ArrayRef[Str|Undef]
The actions to execute when this alarm transitions to the ALARM
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
AlarmArn => Str
The Amazon Resource Name (ARN) of the alarm.
AlarmConfigurationUpdatedTimestamp => Str
The time stamp of the last update to the alarm configuration.
AlarmDescription => Str
The description of the alarm.
AlarmName => Str
The name of the alarm.
ComparisonOperator => Str
The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
DatapointsToAlarm => Int
The number of data points that must be breaching to trigger the alarm.
Dimensions => ArrayRef[Paws::CloudWatch::Dimension]
The dimensions for the metric associated with the alarm.
EvaluateLowSampleCountPercentile => Str
Used only for alarms based on percentiles. If ignore
, the alarm state does not change during periods with too few data points to be statistically significant. If evaluate
or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.
EvaluationPeriods => Int
The number of periods over which data is compared to the specified threshold.
ExtendedStatistic => Str
The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
InsufficientDataActions => ArrayRef[Str|Undef]
The actions to execute when this alarm transitions to the INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
MetricName => Str
The name of the metric associated with the alarm, if this is an alarm based on a single metric.
Metrics => ArrayRef[Paws::CloudWatch::MetricDataQuery]
An array of MetricDataQuery structures, used in an alarm based on a metric math expression. Each structure either retrieves a metric or performs a math expression. One item in the Metrics array is the math expression that the alarm watches. This expression by designated by having ReturnData
set to true.
Namespace => Str
The namespace of the metric associated with the alarm.
OKActions => ArrayRef[Str|Undef]
The actions to execute when this alarm transitions to the OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
Period => Int
The period, in seconds, over which the statistic is applied.
StateReason => Str
An explanation for the alarm state, in text format.
StateReasonData => Str
An explanation for the alarm state, in JSON format.
StateUpdatedTimestamp => Str
The time stamp of the last update to the alarm state.
StateValue => Str
The state value for the alarm.
Statistic => Str
The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic
.
Threshold => Num
The value to compare with the specified statistic.
ThresholdMetricId => Str
In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BAND
function used as the threshold for the alarm.
TreatMissingData => Str
Sets how this alarm is to handle missing data points. If this parameter is omitted, the default behavior of missing
is used.
Unit => Str
The unit of the metric associated with the alarm.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::CloudWatch
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues