Class: Aws::ApplicationAutoScaling::Types::PredictiveScalingMetricSpecification

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-applicationautoscaling/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

Instance Attribute Details

#customized_capacity_metric_specificationTypes::PredictiveScalingCustomizedMetricSpecification

The customized capacity metric specification.



2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
# File 'gems/aws-sdk-applicationautoscaling/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_specificationTypes::PredictiveScalingCustomizedMetricSpecification

The customized load metric specification.



2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
# File 'gems/aws-sdk-applicationautoscaling/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_specificationTypes::PredictiveScalingCustomizedMetricSpecification

The customized scaling metric specification.



2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
# File 'gems/aws-sdk-applicationautoscaling/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_specificationTypes::PredictiveScalingPredefinedLoadMetricSpecification

The predefined load metric specification.



2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
# File 'gems/aws-sdk-applicationautoscaling/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_specificationTypes::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 'gems/aws-sdk-applicationautoscaling/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_specificationTypes::PredictiveScalingPredefinedScalingMetricSpecification

The predefined scaling metric specification.



2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
# File 'gems/aws-sdk-applicationautoscaling/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_valueFloat

Specifies the target utilization.

Returns:

  • (Float)


2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
# File 'gems/aws-sdk-applicationautoscaling/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