pub struct NodeGroupConfiguration {
pub node_group_id: Option<String>,
pub primary_availability_zone: Option<String>,
pub primary_outpost_arn: Option<String>,
pub replica_availability_zones: Option<Vec<String>>,
pub replica_count: Option<i64>,
pub replica_outpost_arns: Option<Vec<String>>,
pub slots: Option<String>,
}
Expand description
Node group (shard) configuration options. Each node group (shard) configuration has the following: Slots
, PrimaryAvailabilityZone
, ReplicaAvailabilityZones
, ReplicaCount
.
Fields
node_group_id: Option<String>
Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
primary_availability_zone: Option<String>
The Availability Zone where the primary node of this node group (shard) is launched.
primary_outpost_arn: Option<String>
The outpost ARN of the primary node.
replica_availability_zones: Option<Vec<String>>
A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount
or ReplicasPerNodeGroup
if not specified.
replica_count: Option<i64>
The number of read replica nodes in this node group (shard).
replica_outpost_arns: Option<Vec<String>>
The outpost ARN of the node replicas.
slots: Option<String>
A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey
.
Example: "0-3999"
Trait Implementations
sourceimpl Clone for NodeGroupConfiguration
impl Clone for NodeGroupConfiguration
sourcefn clone(&self) -> NodeGroupConfiguration
fn clone(&self) -> NodeGroupConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NodeGroupConfiguration
impl Debug for NodeGroupConfiguration
sourceimpl Default for NodeGroupConfiguration
impl Default for NodeGroupConfiguration
sourcefn default() -> NodeGroupConfiguration
fn default() -> NodeGroupConfiguration
Returns the “default value” for a type. Read more
sourceimpl PartialEq<NodeGroupConfiguration> for NodeGroupConfiguration
impl PartialEq<NodeGroupConfiguration> for NodeGroupConfiguration
sourcefn eq(&self, other: &NodeGroupConfiguration) -> bool
fn eq(&self, other: &NodeGroupConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodeGroupConfiguration) -> bool
fn ne(&self, other: &NodeGroupConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for NodeGroupConfiguration
Auto Trait Implementations
impl RefUnwindSafe for NodeGroupConfiguration
impl Send for NodeGroupConfiguration
impl Sync for NodeGroupConfiguration
impl Unpin for NodeGroupConfiguration
impl UnwindSafe for NodeGroupConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more