Class CfnDBClusterParameterGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterParameterGroup>
- Enclosing class:
- CfnDBClusterParameterGroup
CfnDBClusterParameterGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dbClusterParameterGroupName
(String dbClusterParameterGroupName) The name of the DB cluster parameter group.description
(String description) The description for the DB cluster parameter group.The DB cluster parameter group family name.parameters
(Object parameters) Provides a list of parameters for the DB cluster parameter group.Tags to assign to the DB cluster parameter group.
-
Method Details
-
create
@Stability(Stable) public static CfnDBClusterParameterGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDBClusterParameterGroup.Builder
.
-
description
The description for the DB cluster parameter group.- Parameters:
description
- The description for the DB cluster parameter group. This parameter is required.- Returns:
this
- See Also:
-
family
The DB cluster parameter group family name.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-mysql
aurora-postgresql
mysql
postgres
- Parameters:
family
- The DB cluster parameter group family name. This parameter is required.- Returns:
this
- See Also:
-
parameters
Provides a list of parameters for the DB cluster parameter group.- Parameters:
parameters
- Provides a list of parameters for the DB cluster parameter group. This parameter is required.- Returns:
this
- See Also:
-
dbClusterParameterGroupName
@Stability(Stable) public CfnDBClusterParameterGroup.Builder dbClusterParameterGroupName(String dbClusterParameterGroupName) The name of the DB cluster parameter group.Constraints:
- Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
- Parameters:
dbClusterParameterGroupName
- The name of the DB cluster parameter group. This parameter is required.- Returns:
this
- See Also:
-
tags
Tags to assign to the DB cluster parameter group.- Parameters:
tags
- Tags to assign to the DB cluster parameter group. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBClusterParameterGroup>
- Returns:
- a newly built instance of
CfnDBClusterParameterGroup
.
-