CmdID / aws / aws deploy
aws deploy list-deployment-groups
Lists the deployment groups for an application registered with the Amazon Web Services user or Amazon Web Services account. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To get information about deployment groups
The following list-deployment-groups example displays information about all deployment groups that are associated with the specified application.
aws deploy list-deployment-groups --application-name WordPress_AppIdentify--application-nameThe name of an CodeDeploy application associated with the user or Amazon Web Services account.Its output
{
"applicationName": "WordPress_App",
"deploymentGroups": [
"WordPress_DG",
"WordPress_Beta_DG"
]
}For more information, see View deployment group details with CodeDeploy in the AWS CodeDeploy User Guide.
Options
--application-nameThe name of an CodeDeploy application associated with the user or Amazon Web Services account.--next-tokenAn identifier returned from the previous list deployment groups call.