HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //usr/lib/python2.7/site-packages/awscli/examples/greengrass/create-deployment.rst
**To create a deployment for a version of a Greengrass group**

The following ``create-deployment`` example deploys the specified version of a Greengrass group. ::

    aws greengrass create-deployment \
        --deployment-type NewDeployment \
        --group-id "ce2e7d01-3240-4c24-b8e6-f6f6e7a9eeca" \
        --group-version-id "dc40c1e9-e8c8-4d28-a84d-a9cad5f599c9"

Output::

    {
        "DeploymentArn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/groups/ce2e7d01-3240-4c24-b8e6-f6f6e7a9eeca/deployments/bfceb608-4e97-45bc-af5c-460144270308",
        "DeploymentId": "bfceb608-4e97-45bc-af5c-460144270308"
    }

For more information, see `Getting Started with Connectors (CLI) <https://docs.aws.amazon.com/greengrass/latest/developerguide/connectors-cli.html>`__ in the *AWS IoT Greengrass Developer Guide*.