Class: Aws::ApplicationAutoScaling::Types::TargetTrackingMetric
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationAutoScaling::Types::TargetTrackingMetric
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-applicationautoscaling/types.rb
Overview
Represents a specific metric.
Metric is a property of the TargetTrackingMetricStat object.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#dimensions ⇒ Array<Types::TargetTrackingMetricDimension>
The dimensions for the metric.
-
#metric_name ⇒ String
The name of the metric.
-
#namespace ⇒ String
The namespace of the metric.
Instance Attribute Details
#dimensions ⇒ Array<Types::TargetTrackingMetricDimension>
The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in [Amazon Web Services services that publish CloudWatch metrics ][1] in the *Amazon CloudWatch User Guide*.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
3863 3864 3865 3866 3867 3868 3869 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 3863 class TargetTrackingMetric < Struct.new( :dimensions, :metric_name, :namespace) SENSITIVE = [] include Aws::Structure end |
#metric_name ⇒ String
The name of the metric.
3863 3864 3865 3866 3867 3868 3869 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 3863 class TargetTrackingMetric < Struct.new( :dimensions, :metric_name, :namespace) SENSITIVE = [] include Aws::Structure end |
#namespace ⇒ String
The namespace of the metric. For more information, see the table in
- Amazon Web Services services that publish CloudWatch metrics ][1
-
in the *Amazon CloudWatch User Guide*.
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
3863 3864 3865 3866 3867 3868 3869 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 3863 class TargetTrackingMetric < Struct.new( :dimensions, :metric_name, :namespace) SENSITIVE = [] include Aws::Structure end |