Class: Aws::Lambda::Types::TargetTrackingScalingPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb

Overview

A scaling policy for the capacity provider that automatically adjusts capacity to maintain a target value for a specific metric.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#predefined_metric_typeString

The predefined metric type to track for scaling decisions.

Returns:

  • (String)


8732
8733
8734
8735
8736
8737
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 8732

class TargetTrackingScalingPolicy < Struct.new(
  :predefined_metric_type,
  :target_value)
  SENSITIVE = []
  include Aws::Structure
end

#target_valueFloat

The target value for the metric that the scaling policy attempts to maintain through scaling actions.

Returns:

  • (Float)


8732
8733
8734
8735
8736
8737
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 8732

class TargetTrackingScalingPolicy < Struct.new(
  :predefined_metric_type,
  :target_value)
  SENSITIVE = []
  include Aws::Structure
end