If you want to deploy CDK stacks to the other account using assume-role, please refer to my repository - https://github.com/aws-samples/aws-cdk-deploy-pipeline-using-aws-codepipeline.
Particularly, "createInstallCommands()" method in https://github.com/aws-samples/aws-cdk-project-template-for-devops/blob/main/lib/template/construct/pattern/pipeline-simple-pattern.ts will be useful to you.
how to automatically deploy a code to ecs in AWS pipelineasked a year ago
Deploy step in pipeline build fails with access deniedasked a year ago
Deploy updated container to existing CDK stackAccepted Answerasked 3 years ago
deploy new cdk Aurora ClusterAccepted Answerasked 6 months ago
Cdk deploy in pipeline example?asked 9 months ago
How do you set a lifecycle policy on CDK Pipeline input?asked a year ago
How to use AWS CDK to compile and deploy a typescript api with dependencies to lambda?asked 10 months ago
How to deploy 4 lambdas in typescript using a code pipeline ?asked 8 months ago
Issue with CDK version v1 running on CICD image serverasked 5 months ago
How to deploy frontend and backend in one CICD (CodePipeline)?asked 18 hours ago