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

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 RDS Amazon Resource Name (ARN) .

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:

  • Cannot be null, empty, or blank
  • Must contain from 1 to 255 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot 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.

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.

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

Output

DBParameterGroup -> (structure)

Contains the result of a successful invocation of the create-db-parameter-group action.

This data type is used as a request parameter in the delete-db-parameter-group action, and as a response element in the describe-db-parameter-groups 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.