Josh presents a workflow he uses to leverage both the Cloud Development Kit (CDK) for infrastructure as code, and the Serverless Application Model (SAM) for local testing and resource bundling of Lambda functions in AWS.
https://docs.aws.amazon.com/serverles...
https://docs.aws.amazon.com/cdk/v2/gu...
The AWS prescribed workflows don't allow for SAM managed bundled deployments. A work-around is demonstrated and can be found in the following repo.
https://github.com/rupe120/cdk-sam-be...