#[non_exhaustive]pub struct CreateGlobalClusterInput {
pub global_cluster_identifier: Option<String>,
pub source_db_cluster_identifier: Option<String>,
pub engine: Option<String>,
pub engine_version: Option<String>,
pub deletion_protection: Option<bool>,
pub database_name: Option<String>,
pub storage_encrypted: Option<bool>,
}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.global_cluster_identifier: Option<String>The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
source_db_cluster_identifier: Option<String>The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
-
DatabaseName -
Engine -
EngineVersion -
StorageEncrypted
engine: Option<String>The database engine to use for this global database cluster.
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine of the source DB cluster.
engine_version: Option<String>The engine version to use for this global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
deletion_protection: Option<bool>Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
database_name: Option<String>The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the database name from the source DB cluster.
storage_encrypted: Option<bool>Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
Implementations§
source§impl CreateGlobalClusterInput
impl CreateGlobalClusterInput
sourcepub fn global_cluster_identifier(&self) -> Option<&str>
pub fn global_cluster_identifier(&self) -> Option<&str>
The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
sourcepub fn source_db_cluster_identifier(&self) -> Option<&str>
pub fn source_db_cluster_identifier(&self) -> Option<&str>
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
-
DatabaseName -
Engine -
EngineVersion -
StorageEncrypted
sourcepub fn engine(&self) -> Option<&str>
pub fn engine(&self) -> Option<&str>
The database engine to use for this global database cluster.
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine of the source DB cluster.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The engine version to use for this global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
sourcepub fn deletion_protection(&self) -> Option<bool>
pub fn deletion_protection(&self) -> Option<bool>
Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the database name from the source DB cluster.
sourcepub fn storage_encrypted(&self) -> Option<bool>
pub fn storage_encrypted(&self) -> Option<bool>
Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
source§impl CreateGlobalClusterInput
impl CreateGlobalClusterInput
sourcepub fn builder() -> CreateGlobalClusterInputBuilder
pub fn builder() -> CreateGlobalClusterInputBuilder
Creates a new builder-style object to manufacture CreateGlobalClusterInput.
Trait Implementations§
source§impl Clone for CreateGlobalClusterInput
impl Clone for CreateGlobalClusterInput
source§fn clone(&self) -> CreateGlobalClusterInput
fn clone(&self) -> CreateGlobalClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateGlobalClusterInput
impl Debug for CreateGlobalClusterInput
source§impl PartialEq for CreateGlobalClusterInput
impl PartialEq for CreateGlobalClusterInput
source§fn eq(&self, other: &CreateGlobalClusterInput) -> bool
fn eq(&self, other: &CreateGlobalClusterInput) -> bool
self and other values to be equal, and is used
by ==.