AWSAutoScalingTargetTrackingConfiguration

Objective-C

@interface AWSAutoScalingTargetTrackingConfiguration

Swift

class AWSAutoScalingTargetTrackingConfiguration

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

Required parameters: [TargetValue]

  • A customized metric. You must specify either a predefined metric or a customized metric.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSAutoScalingCustomizedMetricSpecification *_Nullable customizedMetricSpecification;

    Swift

    var customizedMetricSpecification: AWSAutoScalingCustomizedMetricSpecification? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable disableScaleIn;

    Swift

    var disableScaleIn: NSNumber? { get set }
  • A predefined metric. You must specify either a predefined metric or a customized metric.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSAutoScalingPredefinedMetricSpecification *_Nullable predefinedMetricSpecification;

    Swift

    var predefinedMetricSpecification: AWSAutoScalingPredefinedMetricSpecification? { get set }
  • The target value for the metric.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable targetValue;

    Swift

    var targetValue: NSNumber? { get set }