Paws::CloudWatch::MetricAlarm
This class represents one of two things:
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 });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::MetricAlarm object:
$result = $service_obj->Method(...); $result->Att1->ActionsEnabled
The MetricAlarm data type represents an alarm. You can use PutMetricAlarm to create or update an alarm.
Indicates whether actions should be executed during any changes to the alarm's state.
The list of actions to execute when this alarm transitions into an C<ALARM> state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic and triggering an Auto Scaling policy.
The Amazon Resource Name (ARN) of the alarm.
The time stamp of the last update to the alarm configuration. Amazon CloudWatch uses Coordinated Universal Time (UTC) when returning time stamps, which do not accommodate seasonal adjustments such as daylight savings time. For more information, see Time stamps in the I<Amazon CloudWatch Developer Guide>.
The description for the alarm.
The name of the alarm.
The arithmetic operation to use when comparing the specified C<Statistic> and C<Threshold>. The specified C<Statistic> value is used as the first operand.
The list of dimensions associated with the alarm's associated metric.
The number of periods over which data is compared to the specified threshold.
The list of actions to execute when this alarm transitions into an C<INSUFFICIENT_DATA> state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic or triggering an Auto Scaling policy.
The current WSDL lists this attribute as UnknownActions.
UnknownActions
The name of the alarm's metric.
The namespace of alarm's associated metric.
The list of actions to execute when this alarm transitions into an C<OK> state from any other state. Each action is specified as an Amazon Resource Number (ARN). Currently the only actions supported are publishing to an Amazon SNS topic and triggering an Auto Scaling policy.
The period in seconds over which the statistic is applied.
A human-readable explanation for the alarm's state.
An explanation for the alarm's state in machine-readable JSON format
The time stamp of the last update to the alarm's state. Amazon CloudWatch uses Coordinated Universal Time (UTC) when returning time stamps, which do not accommodate seasonal adjustments such as daylight savings time. For more information, see Time stamps in the I<Amazon CloudWatch Developer Guide>.
The state value for the alarm.
The statistic to apply to the alarm's associated metric.
The value against which the specified statistic is compared.
The unit of the alarm's associated metric.
This class forms part of Paws, describing an object used in Paws::CloudWatch
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.