1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hello.
I don't think you can configure automatic deployment with CodeDeploy alone.
Automatic deployment is possible by combining it with CodePipeline.
Code storage locations (GitHub, CodeCommit, etc.) are specified in CodePipeline.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.CodePipeline.html
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전
Thank you for your reply. I thought what I was doing in the console could be mapped into CDK code. We can use CodeDeploy directly in the console to deploy projects without the need for pipelines.
I don't think CDK allows you to deploy applications with CodeDeploy. I think such operations need to be performed using AWS SDKs (such as Boto3). https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codedeploy/client/create_deployment.html