class Amazonite::Lambda::SnapStartResponse

Overview

The function's SnapStart setting.

Included Modules

Defined in:

lambda/snap_start_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.


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

When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.


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

See Object#hash(hasher)


def optimization_status : SnapStartOptimizationStatus | Nil #

When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.


[View source]
def optimization_status=(optimization_status : SnapStartOptimizationStatus | Nil) #

When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.


[View source]
def validate! : Nil #

[View source]