Interface CfnFunction.SnapStartResponseProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.SnapStartResponseProperty.Jsii$Proxy
- Enclosing class:
CfnFunction
@Stability(Stable)
public static interface CfnFunction.SnapStartResponseProperty
extends software.amazon.jsii.JsiiSerializable
The function's SnapStart setting.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lambda.*; SnapStartResponseProperty snapStartResponseProperty = SnapStartResponseProperty.builder() .applyOn("applyOn") .optimizationStatus("optimizationStatus") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFunction.SnapStartResponseProperty
static final class
An implementation forCfnFunction.SnapStartResponseProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
When set toPublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.default String
When you provide a qualified Amazon Resource Name (ARN) , this response element indicates whether SnapStart is activated for the specified function version.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplyOn
When set toPublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.- See Also:
-
getOptimizationStatus
When you provide a qualified Amazon Resource Name (ARN) , this response element indicates whether SnapStart is activated for the specified function version.- See Also:
-
builder
-