Table Of Contents

Feedback

User Guide

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

[ aws . rds ]

copy-db-parameter-group

Description

Copies the specified DB parameter group.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  copy-db-parameter-group
--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>]

Options

--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 .

Constraints:

  • 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.

Constraints:

  • 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.

Output

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.