class Amazonite::Lambda::TargetTrackingScalingPolicy

Overview

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

Included Modules

Defined in:

lambda/target_tracking_scaling_policy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(predefined_metric_type : CapacityProviderPredefinedMetricType, target_value : Float64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def predefined_metric_type : CapacityProviderPredefinedMetricType #

The predefined metric type to track for scaling decisions.


[View source]
def predefined_metric_type=(predefined_metric_type : CapacityProviderPredefinedMetricType) #

The predefined metric type to track for scaling decisions.


[View source]
def target_value : Float64 #

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


[View source]
def target_value=(target_value : Float64) #

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


[View source]
def validate! : Nil #

[View source]