Class CfnFunction.SnapStartProperty
The function's AWS Lambda SnapStart setting.
Inheritance
System.Object
CfnFunction.SnapStartProperty
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SnapStartProperty : Object, CfnFunction.ISnapStartProperty
Syntax (vb)
Public Class SnapStartProperty
Inherits Object
Implements CfnFunction.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
Constructors
SnapStartProperty() |
Properties
ApplyOn | Set |
Constructors
SnapStartProperty()
public SnapStartProperty()
Properties
ApplyOn
Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.
public string ApplyOn { get; set; }
Property Value
System.String