![]() |
![]()
| ![]() |
![]()
NAMEPaws::EMR::CloudWatchAlarmDefinition USAGEThis 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::EMR::CloudWatchAlarmDefinition object: $service_obj->Method(Att1 => { ComparisonOperator => $value, ..., Unit => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::CloudWatchAlarmDefinition object: $result = $service_obj->Method(...); $result->Att1->ComparisonOperator DESCRIPTIONThe 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. ATTRIBUTESREQUIRED ComparisonOperator => StrDetermines how the metric specified by "MetricName" is compared to the value specified by "Threshold". Dimensions => ArrayRef[Paws::EMR::MetricDimension]A CloudWatch metric dimension. EvaluationPeriods => IntThe 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. REQUIRED MetricName => StrThe name of the CloudWatch metric that is watched to determine an alarm condition. Namespace => StrThe namespace for the CloudWatch metric. The default is "AWS/ElasticMapReduce". REQUIRED Period => IntThe 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. Statistic => StrThe statistic to apply to the metric associated with the alarm. The default is "AVERAGE". REQUIRED Threshold => NumThe value against which the specified statistic is compared. Unit => StrThe 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. SEE ALSOThis class forms part of Paws, describing an object used in Paws::EMR BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|