interface SnapStartResponseProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lambda.CfnFunctionPropsMixin.SnapStartResponseProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslambda#CfnFunctionPropsMixin_SnapStartResponseProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnFunctionPropsMixin.SnapStartResponseProperty |
Python | aws_cdk.cfn_property_mixins.aws_lambda.CfnFunctionPropsMixin.SnapStartResponseProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lambda » CfnFunctionPropsMixin » SnapStartResponseProperty |
The function's SnapStart setting.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from '@aws-cdk/cfn-property-mixins';
const snapStartResponseProperty: lambda.CfnFunctionPropsMixin.SnapStartResponseProperty = {
applyOn: 'applyOn',
optimizationStatus: 'optimizationStatus',
};
Properties
| Name | Type | Description |
|---|---|---|
| apply | string | When set to PublishedVersions , Lambda creates a snapshot of the execution environment when you publish a function version. |
| optimization | string | When you provide a qualified Amazon Resource Name (ARN) , this response element indicates whether SnapStart is activated for the specified function version. |
applyOn?
Type:
string
(optional)
When set to PublishedVersions , Lambda creates a snapshot of the execution environment when you publish a function version.
optimizationStatus?
Type:
string
(optional)
When you provide a qualified Amazon Resource Name (ARN) , this response element indicates whether SnapStart is activated for the specified function version.

.NET
Go
Java
Python
TypeScript