@Stability(value=Stable)
public static interface CfnFunction.SnapStartResponseProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunction.SnapStartResponseProperty.Builder
A builder for
CfnFunction.SnapStartResponseProperty |
static class |
CfnFunction.SnapStartResponseProperty.Jsii$Proxy
An implementation for
CfnFunction.SnapStartResponseProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunction.SnapStartResponseProperty.Builder |
builder() |
default String |
getApplyOn()
When set to `PublishedVersions` , Lambda creates a snapshot of the execution environment when you publish a function version.
|
default String |
getOptimizationStatus()
When you provide a [qualified Amazon Resource Name (ARN)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using) , this response element indicates whether SnapStart is activated for the specified function version.
|
@Stability(value=Stable) @Nullable default String getApplyOn()
@Stability(value=Stable) @Nullable default String getOptimizationStatus()
@Stability(value=Stable) static CfnFunction.SnapStartResponseProperty.Builder builder()
Copyright © 2023. All rights reserved.