Copies the specified DB parameter group¶
Description¶
Copies the specified DB parameter group.
You can't copy a default DB parameter group. Instead, create a new custom DB parameter group, which copies the default parameters and values for the specified DB parameter group family.
Usage¶
rds_copy_db_parameter_group(SourceDBParameterGroupIdentifier,
TargetDBParameterGroupIdentifier, TargetDBParameterGroupDescription,
Tags)
Arguments¶
-
SourceDBParameterGroupIdentifier[required] 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.
-
TargetDBParameterGroupIdentifier[required] 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 -
TargetDBParameterGroupDescription[required] A description for the copied DB parameter group.
-
TagsA list of tags.
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.
Value¶
A list with the following syntax:
list(
DBParameterGroup = list(
DBParameterGroupName = "string",
DBParameterGroupFamily = "string",
Description = "string",
DBParameterGroupArn = "string"
)
)
Request syntax¶
svc$copy_db_parameter_group(
SourceDBParameterGroupIdentifier = "string",
TargetDBParameterGroupIdentifier = "string",
TargetDBParameterGroupDescription = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)