1 Answer
- Newest
- Most votes
- Most comments
0
I don't think you need to duplicate the Lambda source code; just create a second CDK resource referencing the same code.
You can also use the version
construct to explicitly define function versions and then deploy those, using your own environment management logic as appropriate: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Version.html
answered 6 months ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago