Amazon DocumentDB Cluster Settings
When you create or modify a cluster, it is important to understand which parameters are immutable and which are modifiable after the cluster has been created. The following table lists all the settings, or parameters, that are specific to a cluster. As specified in the table, some are modifiable, others are not.
Note
These settings should not be confused with Amazon DocumentDB cluster parameter groups and their parameters. For more information about cluster parameter groups, see Managing Amazon DocumentDB Cluster Parameter Groups.
| Parameter | Modifiable | Notes |
|---|---|---|
DBClusterIdentifier |
Yes | Naming constraints: - Length is [1—63] letters, numbers, or hyphens. - First character must be a letter. - Cannot end with a hyphen or contain two consecutive hyphens. - Must be unique for all clusters across Amazon RDS, Amazon Neptune, and Amazon DocumentDB per AWS account, per Region. |
Engine |
No | Must be docdb. |
BackupRetentionPeriod |
Yes | Must be between [1-35] days. |
DBClusterParameterGroupName |
Yes | Naming constraints: - Length is [1—255] alphanumeric characters. - First character must be a letter. - Cannot end with a hyphen or contain two consecutive hyphens. |
DBSubnetGroupName |
No | After a cluster has been created, you cannot modify the cluster’s subnet. |
EngineVersion |
No | Must be 4.0.0. |
KmsKeyId |
No | If you choose to encrypt your cluster, you cannot change the AWS KMS key that you used to encrypt your cluster. |
MasterUsername |
No | After a cluster has been created, you cannot modify the MasterUsername. Naming constraints: - Length is [1—63] alphanumeric characters. - First character must be a letter. - Cannot be a word reserved by the database engine. |
MasterUserPassword |
Yes | Constraints: - Length is [8—100] printable ASCII characters. - Can use any printable ASCII characters except for the following: - / (forward slash) - “ (double quotation mark) - @ (at symbol) |
Port |
Yes | The port number applies to all instances in the cluster. |
PreferredBackupWindow |
Yes | |
PreferredMaintenanceWindow |
Yes | |
StorageEncrypted |
No | If you choose to encrypt your cluster, it cannot be unencrypted. |
Tags |
Yes | |
VpcSecurityGroupIds |
No | After a cluster has been created, you cannot modify the VPC that the cluster resides in. |
