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: //lib/python2.7/site-packages/awscli/examples/docdb/copy-db-cluster-parameter-group.rst
**To duplicate an existing DB cluster parameter group**

The following ``copy-db-cluster-parameter-group`` example makes a copy of the parameter group ``custom-docdb3-6`` named ``custom-docdb3-6-copy``. When making the copy it adds tags to the new parameter group. ::

    aws docdb copy-db-cluster-parameter-group \
        --source-db-cluster-parameter-group-identifier custom-docdb3-6 \
        --target-db-cluster-parameter-group-identifier custom-docdb3-6-copy \
        --target-db-cluster-parameter-group-description "Copy of custom-docdb3-6" \
        --tags Key="CopyNumber",Value="1" Key="Modifiable",Value="Yes"

Output::

    {
        "DBClusterParameterGroup": {
            "DBParameterGroupFamily": "docdb3.6",
            "DBClusterParameterGroupArn": "arn:aws:rds:us-east-1:12345678901:cluster-pg:custom-docdb3-6-copy",
            "DBClusterParameterGroupName": "custom-docdb3-6-copy",
            "Description": "Copy of custom-docdb3-6"
        }
    }

For more information, see `Copying an Amazon DocumentDB Cluster Parameter Group <https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-parameter-group-copy.html>`__ in the *Amazon DocumentDB Developer Guide*.