Struct aws_sdk_rds::operation::create_db_cluster_parameter_group::CreateDbClusterParameterGroupInput
source · #[non_exhaustive]pub struct CreateDbClusterParameterGroupInput {
pub db_cluster_parameter_group_name: Option<String>,
pub db_parameter_group_family: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.db_cluster_parameter_group_name: Option<String>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.
db_parameter_group_family: Option<String>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: postgres12
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
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
description: Option<String>The description for the DB cluster parameter group.
Tags to assign to the DB cluster parameter group.
Implementations§
source§impl CreateDbClusterParameterGroupInput
impl CreateDbClusterParameterGroupInput
sourcepub fn db_cluster_parameter_group_name(&self) -> Option<&str>
pub fn db_cluster_parameter_group_name(&self) -> Option<&str>
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.
sourcepub fn db_parameter_group_family(&self) -> Option<&str>
pub fn db_parameter_group_family(&self) -> Option<&str>
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: postgres12
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
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
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the DB cluster parameter group.
Tags to assign to the DB cluster parameter group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateDbClusterParameterGroupInput
impl CreateDbClusterParameterGroupInput
sourcepub fn builder() -> CreateDbClusterParameterGroupInputBuilder
pub fn builder() -> CreateDbClusterParameterGroupInputBuilder
Creates a new builder-style object to manufacture CreateDbClusterParameterGroupInput.
Trait Implementations§
source§impl Clone for CreateDbClusterParameterGroupInput
impl Clone for CreateDbClusterParameterGroupInput
source§fn clone(&self) -> CreateDbClusterParameterGroupInput
fn clone(&self) -> CreateDbClusterParameterGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateDbClusterParameterGroupInput
impl PartialEq for CreateDbClusterParameterGroupInput
source§fn eq(&self, other: &CreateDbClusterParameterGroupInput) -> bool
fn eq(&self, other: &CreateDbClusterParameterGroupInput) -> bool
self and other values to be equal, and is used
by ==.