Class: Aws::ApplicationAutoScaling::Types::TargetTrackingMetricStat
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationAutoScaling::Types::TargetTrackingMetricStat
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-applicationautoscaling/types.rb
Overview
This structure defines the CloudWatch metric to return, along with the statistic and unit.
For more information about the CloudWatch terminology below, see
- Amazon CloudWatch concepts][1
-
in the *Amazon CloudWatch User Guide*.
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#metric ⇒ Types::TargetTrackingMetric
The CloudWatch metric to return, including the metric name, namespace, and dimensions.
-
#stat ⇒ String
The statistic to return.
-
#unit ⇒ String
The unit to use for the returned data points.
Instance Attribute Details
#metric ⇒ Types::TargetTrackingMetric
The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric] object that is returned by a call to [ListMetrics].
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html [2]: docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html
4487 4488 4489 4490 4491 4492 4493 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 4487 class TargetTrackingMetricStat < Struct.new( :metric, :stat, :unit) SENSITIVE = [] include Aws::Structure end |
#stat ⇒ String
The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in
- Statistics][1
-
in the *Amazon CloudWatch User Guide*.
The most commonly used metric for scaling is ‘Average`.
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic
4487 4488 4489 4490 4491 4492 4493 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 4487 class TargetTrackingMetricStat < Struct.new( :metric, :stat, :unit) SENSITIVE = [] include Aws::Structure end |
#unit ⇒ String
The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum] data type in the *Amazon CloudWatch API Reference*.
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
4487 4488 4489 4490 4491 4492 4493 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 4487 class TargetTrackingMetricStat < Struct.new( :metric, :stat, :unit) SENSITIVE = [] include Aws::Structure end |