Class: Aws::AutoScaling::Types::TargetTrackingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::TargetTrackingConfiguration
- Defined in:
- gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb
Overview
Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#customized_metric_specification ⇒ Types::CustomizedMetricSpecification
A customized metric.
-
#disable_scale_in ⇒ Boolean
Indicates whether scaling in by the target tracking scaling policy is disabled.
-
#predefined_metric_specification ⇒ Types::PredefinedMetricSpecification
A predefined metric.
-
#target_value ⇒ Float
The target value for the metric.
Instance Attribute Details
#customized_metric_specification ⇒ Types::CustomizedMetricSpecification
A customized metric. You must specify either a predefined metric or a customized metric.
7314 7315 7316 7317 7318 7319 7320 7321 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 7314 class TargetTrackingConfiguration < Struct.new( :predefined_metric_specification, :customized_metric_specification, :target_value, :disable_scale_in) SENSITIVE = [] include Aws::Structure end |
#disable_scale_in ⇒ Boolean
Indicates whether scaling in by the target tracking scaling policy
is disabled. If scaling in is disabled, the target tracking scaling
policy doesn't remove instances from the Auto Scaling group.
Otherwise, the target tracking scaling policy can remove instances
from the Auto Scaling group. The default is false
.
7314 7315 7316 7317 7318 7319 7320 7321 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 7314 class TargetTrackingConfiguration < Struct.new( :predefined_metric_specification, :customized_metric_specification, :target_value, :disable_scale_in) SENSITIVE = [] include Aws::Structure end |
#predefined_metric_specification ⇒ Types::PredefinedMetricSpecification
A predefined metric. You must specify either a predefined metric or a customized metric.
7314 7315 7316 7317 7318 7319 7320 7321 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 7314 class TargetTrackingConfiguration < Struct.new( :predefined_metric_specification, :customized_metric_specification, :target_value, :disable_scale_in) SENSITIVE = [] include Aws::Structure end |
#target_value ⇒ Float
The target value for the metric.
7314 7315 7316 7317 7318 7319 7320 7321 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 7314 class TargetTrackingConfiguration < Struct.new( :predefined_metric_specification, :customized_metric_specification, :target_value, :disable_scale_in) SENSITIVE = [] include Aws::Structure end |