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
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