class
Amazonite::Lambda::SnapStartResponse
- Amazonite::Lambda::SnapStartResponse
- Reference
- Object
Overview
The function's SnapStart setting.
Included Modules
- JSON::Serializable
Defined in:
lambda/snap_start_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(apply_on : SnapStartApplyOn | Nil = nil, optimization_status : SnapStartOptimizationStatus | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#apply_on : SnapStartApplyOn | Nil
When set to
PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version. -
#apply_on=(apply_on : SnapStartApplyOn | Nil)
When set to
PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version. -
#hash(hasher)
See
Object#hash(hasher) -
#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.
-
#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.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you
publish a function version.
When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you
publish a function version.
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.