1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 years ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
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