AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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_operatorString

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.

#dimensionsArray<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_periodsInteger

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_nameString

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.

#namespaceString

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.

#periodInteger

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.

#statisticString

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.

#thresholdFloat

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.