The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Route53::CloudWatchAlarmConfiguration

USAGE

This 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::Route53::CloudWatchAlarmConfiguration object:

  $service_obj->Method(Att1 => { ComparisonOperator => $value, ..., Threshold => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::CloudWatchAlarmConfiguration object:

  $result = $service_obj->Method(...);
  $result->Att1->ComparisonOperator

DESCRIPTION

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

ATTRIBUTES

REQUIRED ComparisonOperator => Str

For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison.

Dimensions => ArrayRef[Paws::Route53::Dimension]

For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric. For information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html) in the Amazon CloudWatch User Guide.

REQUIRED EvaluationPeriods => Int

For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold.

REQUIRED MetricName => Str

The name of the CloudWatch metric that the alarm is associated with.

REQUIRED Namespace => Str

The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html) in the Amazon CloudWatch User Guide.

REQUIRED Period => Int

For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds.

REQUIRED Statistic => Str

For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric.

REQUIRED Threshold => Num

For the metric that the CloudWatch alarm is associated with, the value the metric is compared with.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Route53

BUGS and CONTRIBUTIONS

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