Paws::CloudWatch::PutMetricAlarm - Arguments for method PutMetricAlarm on Paws::CloudWatch
This class represents the parameters used for calling the method PutMetricAlarm on the Amazon CloudWatch service. Use the attributes of this class as arguments to method PutMetricAlarm.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutMetricAlarm.
As an example:
$service_obj->PutMetricAlarm(Att1 => $value1, Att2 => $value2, ...);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
Indicates whether or not 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 action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.
The description for the alarm.
The descriptive name for the alarm. This name must be unique within the user's AWS account
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 dimensions for 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 action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.
The name for the alarm's associated metric.
The namespace for the 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 action supported is publishing to an Amazon SNS topic or an Amazon Auto Scaling policy.
The period in seconds over which the specified statistic is applied.
The statistic to apply to the alarm's associated metric.
The value against which the specified statistic is compared.
The unit for the alarm's associated metric.
This class forms part of Paws, documenting arguments for method PutMetricAlarm 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.