aws-cdk-lib.aws_lambda.CfnFunction.SnapStartResponseProperty

interface SnapStartResponseProperty

LanguageType name
.NETAmazon.CDK.AWS.Lambda.CfnFunction.SnapStartResponseProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnFunction_SnapStartResponseProperty
Javasoftware.amazon.awscdk.services.lambda.CfnFunction.SnapStartResponseProperty
Pythonaws_cdk.aws_lambda.CfnFunction.SnapStartResponseProperty
TypeScript aws-cdk-lib » aws_lambda » CfnFunction » 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-lib';
const snapStartResponseProperty: lambda.CfnFunction.SnapStartResponseProperty = {
  applyOn: 'applyOn',
  optimizationStatus: 'optimizationStatus',
};

Properties

NameTypeDescription
applyOn?stringWhen set to PublishedVersions , Lambda creates a snapshot of the execution environment when you publish a function version.
optimizationStatus?stringWhen 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.