class Amazonite::Lambda::SnapStart

Overview

The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.

Included Modules

Defined in:

lambda/snap_start.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(apply_on : SnapStartApplyOn | 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 apply_on : SnapStartApplyOn | Nil #

Set to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.


[View source]
def apply_on=(apply_on : SnapStartApplyOn | Nil) #

Set to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]