Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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.

Returns:

  • (String)

1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1031

class CloudWatchAlarmConfiguration < Struct.new(
  :evaluation_periods,
  :threshold,
  :comparison_operator,
  :period,
  :metric_name,
  :namespace,
  :statistic,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#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:


1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1031

class CloudWatchAlarmConfiguration < Struct.new(
  :evaluation_periods,
  :threshold,
  :comparison_operator,
  :period,
  :metric_name,
  :namespace,
  :statistic,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#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)

1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1031

class CloudWatchAlarmConfiguration < Struct.new(
  :evaluation_periods,
  :threshold,
  :comparison_operator,
  :period,
  :metric_name,
  :namespace,
  :statistic,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

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

Returns:

  • (String)

1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1031

class CloudWatchAlarmConfiguration < Struct.new(
  :evaluation_periods,
  :threshold,
  :comparison_operator,
  :period,
  :metric_name,
  :namespace,
  :statistic,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#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)

1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1031

class CloudWatchAlarmConfiguration < Struct.new(
  :evaluation_periods,
  :threshold,
  :comparison_operator,
  :period,
  :metric_name,
  :namespace,
  :statistic,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#periodInteger

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

Returns:

  • (Integer)

1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1031

class CloudWatchAlarmConfiguration < Struct.new(
  :evaluation_periods,
  :threshold,
  :comparison_operator,
  :period,
  :metric_name,
  :namespace,
  :statistic,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#statisticString

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

Returns:

  • (String)

1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1031

class CloudWatchAlarmConfiguration < Struct.new(
  :evaluation_periods,
  :threshold,
  :comparison_operator,
  :period,
  :metric_name,
  :namespace,
  :statistic,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdFloat

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

Returns:

  • (Float)

1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1031

class CloudWatchAlarmConfiguration < Struct.new(
  :evaluation_periods,
  :threshold,
  :comparison_operator,
  :period,
  :metric_name,
  :namespace,
  :statistic,
  :dimensions)
  SENSITIVE = []
  include Aws::Structure
end