Does anyone know how to activate with typescript CDK? There is literally no documentation from AWS how to set it up with their Lambda SDK.
any sample code?
Does anyone know how to activate with typescript CDK? There is literally no documentation from AWS how to set it up with their Lambda SDK.
any sample code?
2
Answers
Here is the TypeScript sample:
I dont think so its possible with for any runtime other than
java11
&java17
AWS docs
If your lambda uses java runtime then you need to use snapstart property otherwise at this moment you cannot use snapstart feature for your lambda
Ref: Docs
https://docs.aws.amazon.com/cdk/api/v2/java/software/amazon/awscdk/services/lambda/CfnFunction.SnapStartProperty.html