interface SnapStartProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lambda.CfnFunctionPropsMixin.SnapStartProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslambda#CfnFunctionPropsMixin_SnapStartProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnFunctionPropsMixin.SnapStartProperty |
Python | aws_cdk.cfn_property_mixins.aws_lambda.CfnFunctionPropsMixin.SnapStartProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lambda » 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 { aws_lambda as lambda } from '@aws-cdk/cfn-property-mixins';
const snapStartProperty: lambda.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