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