Struct aws_sdk_databasemigration::types::ComputeConfig
source · #[non_exhaustive]pub struct ComputeConfig {
pub availability_zone: Option<String>,
pub dns_name_servers: Option<String>,
pub kms_key_id: Option<String>,
pub max_capacity_units: Option<i32>,
pub min_capacity_units: Option<i32>,
pub multi_az: Option<bool>,
pub preferred_maintenance_window: Option<String>,
pub replication_subnet_group_id: Option<String>,
pub vpc_security_group_ids: Option<Vec<String>>,
}
Expand description
Configuration parameters for provisioning an DMS Serverless replication.
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.availability_zone: Option<String>
The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example, "us-west-2"
. You can't set this parameter if the MultiAZ
parameter is set to true
.
dns_name_servers: Option<String>
A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
kms_key_id: Option<String>
An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.
If you don't specify a value for the KmsKeyId
parameter, DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
max_capacity_units: Option<i32>
Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits
parameter is the only DCU parameter you are required to specify.
min_capacity_units: Option<i32>
Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 2. You don't have to specify a value for the MinCapacityUnits
parameter. If you don't set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 2.
multi_az: Option<bool>
Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the AvailabilityZone
parameter if the MultiAZ
parameter is set to true
.
preferred_maintenance_window: Option<String>
The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi
.
The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon
, Tue
, Wed
, Thu
, Fri
, Sat
, and Sun
.
Constraints include a minimum 30-minute window.
replication_subnet_group_id: Option<String>
Specifies a subnet group identifier to associate with the DMS Serverless replication.
vpc_security_group_ids: Option<Vec<String>>
Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
Implementations§
source§impl ComputeConfig
impl ComputeConfig
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's Amazon Web Services Region, for example, "us-west-2"
. You can't set this parameter if the MultiAZ
parameter is set to true
.
sourcepub fn dns_name_servers(&self) -> Option<&str>
pub fn dns_name_servers(&self) -> Option<&str>
A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication.
If you don't specify a value for the KmsKeyId
parameter, DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
sourcepub fn max_capacity_units(&self) -> Option<i32>
pub fn max_capacity_units(&self) -> Option<i32>
Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for DMS Serverless is 384. The MaxCapacityUnits
parameter is the only DCU parameter you are required to specify.
sourcepub fn min_capacity_units(&self) -> Option<i32>
pub fn min_capacity_units(&self) -> Option<i32>
Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for DMS Serverless is 2. You don't have to specify a value for the MinCapacityUnits
parameter. If you don't set this value, DMS scans the current activity of available source tables to identify an optimum setting for this parameter. If there is no current source activity or DMS can't otherwise identify a more appropriate value, it sets this parameter to the minimum DCU value allowed, 2.
sourcepub fn multi_az(&self) -> Option<bool>
pub fn multi_az(&self) -> Option<bool>
Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You can't set the AvailabilityZone
parameter if the MultiAZ
parameter is set to true
.
sourcepub fn preferred_maintenance_window(&self) -> Option<&str>
pub fn preferred_maintenance_window(&self) -> Option<&str>
The weekly time range during which system maintenance can occur for the DMS Serverless replication, in Universal Coordinated Time (UTC). The format is ddd:hh24:mi-ddd:hh24:mi
.
The default is a 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region. This maintenance occurs on a random day of the week. Valid values for days of the week include Mon
, Tue
, Wed
, Thu
, Fri
, Sat
, and Sun
.
Constraints include a minimum 30-minute window.
sourcepub fn replication_subnet_group_id(&self) -> Option<&str>
pub fn replication_subnet_group_id(&self) -> Option<&str>
Specifies a subnet group identifier to associate with the DMS Serverless replication.
sourcepub fn vpc_security_group_ids(&self) -> Option<&[String]>
pub fn vpc_security_group_ids(&self) -> Option<&[String]>
Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
source§impl ComputeConfig
impl ComputeConfig
sourcepub fn builder() -> ComputeConfigBuilder
pub fn builder() -> ComputeConfigBuilder
Creates a new builder-style object to manufacture ComputeConfig
.
Trait Implementations§
source§impl Clone for ComputeConfig
impl Clone for ComputeConfig
source§fn clone(&self) -> ComputeConfig
fn clone(&self) -> ComputeConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComputeConfig
impl Debug for ComputeConfig
source§impl PartialEq<ComputeConfig> for ComputeConfig
impl PartialEq<ComputeConfig> for ComputeConfig
source§fn eq(&self, other: &ComputeConfig) -> bool
fn eq(&self, other: &ComputeConfig) -> bool
self
and other
values to be equal, and is used
by ==
.