I used the awscli package (downloadable through pip) to run deployment via CodeDeploy.
- Set aws access key and secret access key (see this discussion).
-
aws deploy pushto push the revision to s3 -
aws deploy create-deploymentto create the deployment -
aws deploy get-deploymentevery 2 seconds to poll the deployment status