Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . rds ]



Copies the specified DB parameter group.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


--source-db-parameter-group-identifier <value>
--target-db-parameter-group-identifier <value>
--target-db-parameter-group-description <value>
[--tags <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--source-db-parameter-group-identifier (string)

The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide .


  • Must specify a valid DB parameter group.
  • Must specify a valid DB parameter group identifier, for example my-db-param-group , or a valid ARN.

--target-db-parameter-group-identifier (string)

The identifier for the copied DB parameter group.


  • Can't be null, empty, or blank
  • Must contain from 1 to 255 letters, numbers, or hyphens
  • First character must be a letter
  • Can't end with a hyphen or contain two consecutive hyphens

Example: my-db-parameter-group

--target-db-parameter-group-description (string)

A description for the copied DB parameter group.

--tags (list)

A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.

Shorthand Syntax:

Key=string,Value=string ...

JSON Syntax:

    "Key": "string",
    "Value": "string"

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


To copy a DB cluster parameter group

The following copy-db-parameter-group example makes a copy of a DB parameter group.

aws rds copy-db-parameter-group \
    --source-db-parameter-group-identifier mydbpg \
    --target-db-parameter-group-identifier mydbpgcopy \
    --target-db-parameter-group-description "Copy of mydbpg parameter group"


    "DBParameterGroup": {
        "DBParameterGroupName": "mydbpgcopy",
        "DBParameterGroupArn": "arn:aws:rds:us-east-1:814387698303:pg:mydbpgcopy",
        "DBParameterGroupFamily": "mysql5.7",
        "Description": "Copy of mydbpg parameter group"

For more information, see Copying a DB Parameter Group in the Amazon RDS Users Guide.


DBParameterGroup -> (structure)

Contains the details of an Amazon RDS DB parameter group.

This data type is used as a response element in the DescribeDBParameterGroups action.

DBParameterGroupName -> (string)

Provides the name of the DB parameter group.

DBParameterGroupFamily -> (string)

Provides the name of the DB parameter group family that this DB parameter group is compatible with.

Description -> (string)

Provides the customer-specified description for this DB parameter group.

DBParameterGroupArn -> (string)

The Amazon Resource Name (ARN) for the DB parameter group.