Lambda code defined using 2 CloudFormation parameters. Useful when you don't have access to the code of your Lambda from your CDK code, so you can't use Assets, and you want to deploy the Lambda in a CodePipeline, using CloudFormation Actions - you can fill the parameters using the `#assign` method.
import { CfnParametersCode } from 'aws-cdk-lib/aws-lambda';Or use the module namespace:
import * as lambda from 'aws-cdk-lib/aws-lambda';
// lambda.CfnParametersCodeEverything you need to know about AWS Lambda on one page. HD quality, print-friendly.
Download Free Infographicaws-lambda