PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
deploy
**To retrieve information about one or more deployment groups** The following ``batch-get-deployment-groups`` example retrieves information about two of the deployment groups that are associated with the specified CodeDeploy application. :: aws deploy batch-get-deployment-groups \ --application-name my-codedeploy-application \ --deployment-group-names "[\"my-deployment-group-1\",\"my-deployment-group-2\"]" Output:: { "deploymentGroupsInfo": [ { "deploymentStyle": { "deploymentOption": "WITHOUT_TRAFFIC_CONTROL", "deploymentType": "IN_PLACE" }, "autoRollbackConfiguration": { "enabled": false }, "onPremisesTagSet": { "onPremisesTagSetList": [] }, "serviceRoleArn": "arn:aws:iam::123456789012:role/CodeDeloyServiceRole", "lastAttemptedDeployment": { "endTime": 1556912366.415, "status": "Failed", "createTime": 1556912355.884, "deploymentId": "d-A1B2C3111" }, "autoScalingGroups": [], "deploymentGroupName": "my-deployment-group-1", "ec2TagSet": { "ec2TagSetList": [ [ { "Type": "KEY_AND_VALUE", "Value": "my-EC2-instance", "Key": "Name" } ] ] }, "deploymentGroupId": "a1b2c3d4-5678-90ab-cdef-11111example", "triggerConfigurations": [], "applicationName": "my-codedeploy-application", "computePlatform": "Server", "deploymentConfigName": "CodeDeployDefault.AllAtOnce" }, { "deploymentStyle": { "deploymentOption": "WITHOUT_TRAFFIC_CONTROL", "deploymentType": "IN_PLACE" }, "autoRollbackConfiguration": { "enabled": false }, "onPremisesTagSet": { "onPremisesTagSetList": [] }, "serviceRoleArn": "arn:aws:iam::123456789012:role/CodeDeloyServiceRole", "autoScalingGroups": [], "deploymentGroupName": "my-deployment-group-2", "ec2TagSet": { "ec2TagSetList": [ [ { "Type": "KEY_AND_VALUE", "Value": "my-EC2-instance", "Key": "Name" } ] ] }, "deploymentGroupId": "a1b2c3d4-5678-90ab-cdef-22222example", "triggerConfigurations": [], "applicationName": "my-codedeploy-application", "computePlatform": "Server", "deploymentConfigName": "CodeDeployDefault.AllAtOnce" } ], "errorMessage": "" } For more information, see `BatchGetDeploymentGroups <https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_BatchGetDeploymentGroups.html>`_ in the *AWS CodeDeploy API Reference*.
[-] list-application-revisions.rst
[edit]
[-] register-on-premises-instance.rst
[edit]
[-] batch-get-deployment-groups.rst
[edit]
[-] stop-deployment.rst
[edit]
[-] create-deployment.rst
[edit]
[-] list-deployment-targets.rst
[edit]
[-] delete-application.rst
[edit]
[-] list-deployment-groups.rst
[edit]
[-] uninstall.rst
[edit]
[+]
..
[-] push.rst
[edit]
[-] get-deployment-group.rst
[edit]
[-] register.rst
[edit]
[-] update-deployment-group.rst
[edit]
[-] create-deployment-group.rst
[edit]
[-] get-application-revision.rst
[edit]
[-] batch-get-deployments.rst
[edit]
[-] list-deployment-configs.rst
[edit]
[-] get-deployment-config.rst
[edit]
[-] list-deployment-instances.rst
[edit]
[-] list-deployments.rst
[edit]
[-] create-deployment-config.rst
[edit]
[-] list-applications.rst
[edit]
[+]
wait
[-] delete-deployment-group.rst
[edit]
[-] register-application-revision.rst
[edit]
[-] batch-get-application-revisions.rst
[edit]
[-] get-application.rst
[edit]
[-] install.rst
[edit]
[-] create-application.rst
[edit]
[-] deregister-on-premises-instance.rst
[edit]
[-] remove-tags-from-on-premises-instances.rst
[edit]
[-] deregister.rst
[edit]
[-] delete-deployment-config.rst
[edit]
[-] delete-git-hub-account-token.rst
[edit]
[-] batch-get-applications.rst
[edit]
[-] get-deployment-instance.rst
[edit]
[-] continue-deployment.rst
[edit]
[-] get-deployment.rst
[edit]
[-] batch-get-deployment-targets.rst
[edit]
[-] get-on-premises-instance.rst
[edit]
[-] update-application.rst
[edit]
[-] add-tags-to-on-premises-instances.rst
[edit]
[-] batch-get-on-premises-instances.rst
[edit]
[-] list-on-premises-instances.rst
[edit]
[-] list-git-hub-account-token-names.rst
[edit]
[-] get-deployment-target.rst
[edit]