CfnDBClusterParameterGroupProps Struct
Properties for defining a CfnDBClusterParameterGroup.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
declare const parameters: any;
const cfnDBClusterParameterGroupProps: rds.CfnDBClusterParameterGroupProps = {
description: 'description',
family: 'family',
parameters: parameters,
// the properties below are optional
dbClusterParameterGroupName: 'dbClusterParameterGroupName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
dbClusterParameterGroupNamestringdb_cluster_parameter_group_namestrdbClusterParameterGroupNameStringDbClusterParameterGroupNamestringDbClusterParameterGroupName*string#Constraints:
- Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
notes
A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.
Aurora MySQL
Example: aurora-mysql5.7 , aurora-mysql8.0
Aurora PostgreSQL
Example: aurora-postgresql14
RDS for MySQL
Example: mysql8.0
RDS for PostgreSQL
Example: postgres13
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine <engine>
For example, to list all of the available parameter group families for the Aurora PostgreSQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql
The output contains duplicates.
The following are the valid DB engine values:
aurora-mysqlaurora-postgresqlmysqlpostgres