CmdID

CmdID / aws / aws deploy

aws deploy get-deployment-group

Gets information about a deployment group. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To view information about a deployment group

The following get-deployment-group example displays information about a deployment group that is associated with the specified application.

aws deploy get-deployment-group --application-name WordPress_App --deployment-group-name WordPress_DGIdentify
--application-nameThe name of an CodeDeploy application associated with the user or Amazon Web Services account.
--deployment-group-nameThe name of a deployment group for the specified application.
Its output
{
    "deploymentGroupInfo": {
        "applicationName": "WordPress_App",
        "autoScalingGroups": [
            {
                "name": "CodeDeployDemo-ASG"
            }
        ],
        "deploymentConfigName": "CodeDeployDefault.OneAtATime",
        "ec2TagFilters": [
            {
                "Type": "KEY_AND_VALUE",
                "Value": "CodeDeployDemo",
                "Key": "Name"
            }
        ],
        "deploymentGroupId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "serviceRoleArn": "arn:aws:iam::123456789012:role/CodeDeployDemoRole",
        "deploymentGroupName": "WordPress_DG"
    }
}

For more information, see View deployment group details with CodeDeploy in the AWS CodeDeploy User Guide.

Options

2 in the AWS CLI reference
--application-nameThe name of an CodeDeploy application associated with the user or Amazon Web Services account.
--deployment-group-nameThe name of a deployment group for the specified application.