copyDbClusterParameterGroup
inline suspend fun RdsClient.copyDbClusterParameterGroup(crossinline block: CopyDbClusterParameterGroupRequest.Builder.() -> Unit): CopyDbClusterParameterGroupResponse
Copies the specified DB cluster parameter group.
You can't copy a default DB cluster parameter group. Instead, create a new custom DB cluster parameter group, which copies the default parameters and values for the specified DB cluster parameter group family.
Samples
fun main() {
//sampleStart
// This example copies a DB cluster parameter group.
val resp = rdsClient.copyDbClusterParameterGroup {
sourceDbClusterParameterGroupIdentifier = "mydbclusterparametergroup"
targetDbClusterParameterGroupIdentifier = "mydbclusterparametergroup-copy"
targetDbClusterParameterGroupDescription = "My DB cluster parameter group copy"
}
//sampleEnd
}