Copying Amazon DocumentDB Cluster Parameter Groups

    The following procedure guides you through making a new cluster parameter group by making a copy of an existing cluster parameter group.

    To copy a cluster parameter group

    1. Sign in to the AWS Management Console, and open the Amazon DocumentDB console at https://console.aws.amazon.com/docdb.

    2. In the navigation pane, choose Parameter groups.

    3. In the Cluster parameter groups pane, choose the name of the cluster parameter group that you want to copy.

    To make a copy of a cluster parameter group, use the operation with the following parameters.

    • --source-db-cluster-parameter-group-identifier — Required. The name or Amazon Resource Name (ARN) of the cluster parameter group that you want to make a copy of.

      If the source and target cluster parameter groups are in the same AWS Region, the identifier can be either a name or an ARN.

      If the source and target cluster parameter groups are in different AWS Regions, the identifier must be an ARN.

    • — Required. The name or ARN of the cluster parameter group copy.

      Constraints:

      • Must contain 1–255 letters, numbers, or hyphens.

      • First character must be a letter.

      • Cannot end with a hyphen or contain two consecutive hyphens.

    The following code makes a copy of , naming the copy sample-parameter-group-copy.

    For Linux, macOS, or Unix:

    Output from this operation looks something like the following (JSON format).