Interface CfnFunction.ISnapStartResponseProperty
The function's SnapStart setting.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public interface ISnapStartResponseProperty
Syntax (vb)
Public Interface ISnapStartResponseProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var snapStartResponseProperty = new SnapStartResponseProperty {
ApplyOn = "applyOn",
OptimizationStatus = "optimizationStatus"
};
Synopsis
Properties
ApplyOn | When set to |
OptimizationStatus | When you provide a qualified Amazon Resource Name (ARN) , this response element indicates whether SnapStart is activated for the specified function version. |
Properties
ApplyOn
When set to PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.
virtual string ApplyOn { get; }
Property Value
System.String
Remarks
OptimizationStatus
When you provide a qualified Amazon Resource Name (ARN) , this response element indicates whether SnapStart is activated for the specified function version.
virtual string OptimizationStatus { get; }
Property Value
System.String