Paws::EMR::CloudWatchAlarmDefinition
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::EMR::CloudWatchAlarmDefinition object:
$service_obj->Method(Att1 => { ComparisonOperator => $value, ..., Unit => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::CloudWatchAlarmDefinition object:
$result = $service_obj->Method(...); $result->Att1->ComparisonOperator
The definition of a CloudWatch metric alarm, which determines when an automatic scaling activity is triggered. When the defined alarm conditions are satisfied, scaling activity begins.
Determines how the metric specified by MetricName is compared to the value specified by Threshold.
MetricName
Threshold
A CloudWatch metric dimension.
The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is 1.
1
The name of the CloudWatch metric that is watched to determine an alarm condition.
The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce.
AWS/ElasticMapReduce
The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300.
300
The statistic to apply to the metric associated with the alarm. The default is AVERAGE.
AVERAGE
The value against which the specified statistic is compared.
The unit of measure associated with the CloudWatch metric being watched. The value specified for Unit must correspond to the units specified in the CloudWatch metric.
Unit
This class forms part of Paws, describing an object used in Paws::EMR
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, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.