interface SnapStartProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.CfnFunction.SnapStartProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnFunction_SnapStartProperty |
![]() | software.amazon.awscdk.services.lambda.CfnFunction.SnapStartProperty |
![]() | aws_cdk.aws_lambda.CfnFunction.SnapStartProperty |
![]() | aws-cdk-lib » aws_lambda » CfnFunction » SnapStartProperty |
The function's AWS Lambda 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-lib';
const snapStartProperty: lambda.CfnFunction.SnapStartProperty = {
applyOn: 'applyOn',
};
Properties
Name | Type | Description |
---|---|---|
apply | string | Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. |
applyOn
Type:
string
Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version.