interface SnapStartProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnFunctionPropsMixin.SnapStartProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnFunctionPropsMixin_SnapStartProperty |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnFunctionPropsMixin.SnapStartProperty |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnFunctionPropsMixin.SnapStartProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnFunctionPropsMixin » 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 { mixins as lambda_mixins } from '@aws-cdk/mixins-preview/aws-lambda';
const snapStartProperty: lambda_mixins.CfnFunctionPropsMixin.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
(optional)
Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.

.NET
Go
Java
Python
TypeScript