HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/deploy/create-deployment-group.rst
**To create a deployment group**

The following ``create-deployment-group`` example creates a deployment group and associates it with the specified application and the user's AWS account. ::

    aws deploy create-deployment-group \
        --application-name WordPress_App \
        --auto-scaling-groups CodeDeployDemo-ASG \
        --deployment-config-name CodeDeployDefault.OneAtATime \
        --deployment-group-name WordPress_DG \
        --ec2-tag-filters Key=Name,Value=CodeDeployDemo,Type=KEY_AND_VALUE \
        --service-role-arn arn:aws:iam::123456789012:role/CodeDeployDemoRole

Output::

    {
        "deploymentGroupId": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"
    }