class Amazonite::Lambda::FunctionScalingConfig

Overview

Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.

Included Modules

Defined in:

lambda/function_scaling_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(min_execution_environments : Int32 | Nil = nil, max_execution_environments : Int32 | Nil = nil) #

[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 max_execution_environments : Int32 | Nil #

The maximum number of execution environments that can be provisioned for the function.


[View source]
def max_execution_environments=(max_execution_environments : Int32 | Nil) #

The maximum number of execution environments that can be provisioned for the function.


[View source]
def min_execution_environments : Int32 | Nil #

The minimum number of execution environments to maintain for the function.


[View source]
def min_execution_environments=(min_execution_environments : Int32 | Nil) #

The minimum number of execution environments to maintain for the function.


[View source]
def validate! : Nil #

[View source]