class Amazonite::Lambda::ScalingConfig

Overview

(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.

Included Modules

Defined in:

lambda/scaling_config.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

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

Limits the number of concurrent instances that the Amazon SQS event source can invoke.


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

Limits the number of concurrent instances that the Amazon SQS event source can invoke.


[View source]
def validate! : Nil #

[View source]