Class: Aws::ApplicationAutoScaling::Types::TargetTrackingMetricStat

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

Overview

This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

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



3929
3930
3931
3932
3933
3934
3935
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 3929

class TargetTrackingMetricStat < Struct.new(
  :metric,
  :stat,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#statString

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metric for scaling is Average.

Returns:

  • (String)


3929
3930
3931
3932
3933
3934
3935
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 3929

class TargetTrackingMetricStat < Struct.new(
  :metric,
  :stat,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

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.

Returns:

  • (String)


3929
3930
3931
3932
3933
3934
3935
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 3929

class TargetTrackingMetricStat < Struct.new(
  :metric,
  :stat,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end