Interface CfnFunction.ISnapStartProperty
The function's AWS Lambda SnapStart setting.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public interface ISnapStartProperty
Syntax (vb)
Public Interface ISnapStartProperty
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 snapStartProperty = new SnapStartProperty {
ApplyOn = "applyOn"
};
Synopsis
Properties
ApplyOn | Set |
Properties
ApplyOn
Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
string ApplyOn { get; }
Property Value
System.String