Struct aws_sdk_keyspaces::types::ReplicaSpecification
source · #[non_exhaustive]pub struct ReplicaSpecification {
pub region: String,
pub read_capacity_units: Option<i64>,
pub read_capacity_auto_scaling: Option<AutoScalingSettings>,
}
Expand description
The Amazon Web Services Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per Amazon Web Services Region. You can do this by configuring the following parameters.
-
region
: The Region where these settings are applied. (Required) -
readCapacityUnits
: The provisioned read capacity units. (Optional) -
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
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.region: String
The Amazon Web Services Region.
read_capacity_units: Option<i64>
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
read_capacity_auto_scaling: Option<AutoScalingSettings>
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
Implementations§
source§impl ReplicaSpecification
impl ReplicaSpecification
sourcepub fn read_capacity_units(&self) -> Option<i64>
pub fn read_capacity_units(&self) -> Option<i64>
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
sourcepub fn read_capacity_auto_scaling(&self) -> Option<&AutoScalingSettings>
pub fn read_capacity_auto_scaling(&self) -> Option<&AutoScalingSettings>
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
source§impl ReplicaSpecification
impl ReplicaSpecification
sourcepub fn builder() -> ReplicaSpecificationBuilder
pub fn builder() -> ReplicaSpecificationBuilder
Creates a new builder-style object to manufacture ReplicaSpecification
.
Trait Implementations§
source§impl Clone for ReplicaSpecification
impl Clone for ReplicaSpecification
source§fn clone(&self) -> ReplicaSpecification
fn clone(&self) -> ReplicaSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicaSpecification
impl Debug for ReplicaSpecification
source§impl PartialEq for ReplicaSpecification
impl PartialEq for ReplicaSpecification
source§fn eq(&self, other: &ReplicaSpecification) -> bool
fn eq(&self, other: &ReplicaSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.