Class: Aws::ApplicationAutoScaling::Types::PredictiveScalingMetricSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationAutoScaling::Types::PredictiveScalingMetricSpecification
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-applicationautoscaling/types.rb
Overview
This structure specifies the metrics and target utilization settings for a predictive scaling policy.
You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#customized_capacity_metric_specification ⇒ Types::PredictiveScalingCustomizedMetricSpecification
The customized capacity metric specification.
-
#customized_load_metric_specification ⇒ Types::PredictiveScalingCustomizedMetricSpecification
The customized load metric specification.
-
#customized_scaling_metric_specification ⇒ Types::PredictiveScalingCustomizedMetricSpecification
The customized scaling metric specification.
-
#predefined_load_metric_specification ⇒ Types::PredictiveScalingPredefinedLoadMetricSpecification
The predefined load metric specification.
-
#predefined_metric_pair_specification ⇒ Types::PredictiveScalingPredefinedMetricPairSpecification
The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
-
#predefined_scaling_metric_specification ⇒ Types::PredictiveScalingPredefinedScalingMetricSpecification
The predefined scaling metric specification.
-
#target_value ⇒ Float
Specifies the target utilization.
Instance Attribute Details
#customized_capacity_metric_specification ⇒ Types::PredictiveScalingCustomizedMetricSpecification
The customized capacity metric specification.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 2083 class PredictiveScalingMetricSpecification < Struct.new( :target_value, :predefined_metric_pair_specification, :predefined_scaling_metric_specification, :predefined_load_metric_specification, :customized_scaling_metric_specification, :customized_load_metric_specification, :customized_capacity_metric_specification) SENSITIVE = [] include Aws::Structure end |
#customized_load_metric_specification ⇒ Types::PredictiveScalingCustomizedMetricSpecification
The customized load metric specification.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 2083 class PredictiveScalingMetricSpecification < Struct.new( :target_value, :predefined_metric_pair_specification, :predefined_scaling_metric_specification, :predefined_load_metric_specification, :customized_scaling_metric_specification, :customized_load_metric_specification, :customized_capacity_metric_specification) SENSITIVE = [] include Aws::Structure end |
#customized_scaling_metric_specification ⇒ Types::PredictiveScalingCustomizedMetricSpecification
The customized scaling metric specification.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 2083 class PredictiveScalingMetricSpecification < Struct.new( :target_value, :predefined_metric_pair_specification, :predefined_scaling_metric_specification, :predefined_load_metric_specification, :customized_scaling_metric_specification, :customized_load_metric_specification, :customized_capacity_metric_specification) SENSITIVE = [] include Aws::Structure end |
#predefined_load_metric_specification ⇒ Types::PredictiveScalingPredefinedLoadMetricSpecification
The predefined load metric specification.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 2083 class PredictiveScalingMetricSpecification < Struct.new( :target_value, :predefined_metric_pair_specification, :predefined_scaling_metric_specification, :predefined_load_metric_specification, :customized_scaling_metric_specification, :customized_load_metric_specification, :customized_capacity_metric_specification) SENSITIVE = [] include Aws::Structure end |
#predefined_metric_pair_specification ⇒ Types::PredictiveScalingPredefinedMetricPairSpecification
The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 2083 class PredictiveScalingMetricSpecification < Struct.new( :target_value, :predefined_metric_pair_specification, :predefined_scaling_metric_specification, :predefined_load_metric_specification, :customized_scaling_metric_specification, :customized_load_metric_specification, :customized_capacity_metric_specification) SENSITIVE = [] include Aws::Structure end |
#predefined_scaling_metric_specification ⇒ Types::PredictiveScalingPredefinedScalingMetricSpecification
The predefined scaling metric specification.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 2083 class PredictiveScalingMetricSpecification < Struct.new( :target_value, :predefined_metric_pair_specification, :predefined_scaling_metric_specification, :predefined_load_metric_specification, :customized_scaling_metric_specification, :customized_load_metric_specification, :customized_capacity_metric_specification) SENSITIVE = [] include Aws::Structure end |
#target_value ⇒ Float
Specifies the target utilization.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 2083 class PredictiveScalingMetricSpecification < Struct.new( :target_value, :predefined_metric_pair_specification, :predefined_scaling_metric_specification, :predefined_load_metric_specification, :customized_scaling_metric_specification, :customized_load_metric_specification, :customized_capacity_metric_specification) SENSITIVE = [] include Aws::Structure end |