You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::CloudWatchAlarmConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#comparison_operator ⇒ String

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

Possible values:

  • GreaterThanOrEqualToThreshold
  • GreaterThanThreshold
  • LessThanThreshold
  • LessThanOrEqualToThreshold

Returns:

  • (String) —

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

#dimensions ⇒ Array<Types::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 in the Amazon CloudWatch User Guide.

Returns:

  • (Array<Types::Dimension>) —

    For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric.

#evaluation_periods ⇒ Integer

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

Returns:

  • (Integer) —

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

#metric_name ⇒ String

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

Returns:

  • (String) —

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

#namespace ⇒ String

The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.

Returns:

  • (String) —

    The namespace of the metric that the alarm is associated with.

#period ⇒ Integer

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

Returns:

  • (Integer) —

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

#statistic ⇒ String

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

Possible values:

  • Average
  • Sum
  • SampleCount
  • Maximum
  • Minimum

Returns:

  • (String) —

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

#threshold ⇒ Float

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

Returns:

  • (Float) —

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