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 C<MetricName> is compared to the value specified by C<Threshold>.
A CloudWatch metric dimension.
The number of periods, expressed in seconds using C<Period>, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is C<1>.
The name of the CloudWatch metric that is watched to determine an alarm condition.
The namespace for the CloudWatch metric. The default is C<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 C<300>.
The statistic to apply to the metric associated with the alarm. The default is C<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 C<Unit> must correspond to the units specified in the CloudWatch metric.
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::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.