[−][src]Struct rusoto_elasticache::ConfigureShard
Node group (shard) configuration options when adding or removing replicas. Each node group (shard) configuration has the following members: NodeGroupId, NewReplicaCount, and PreferredAvailabilityZones.
Fields
new_replica_count: i64
The number of replicas you want in this node group at the end of this operation. The maximum value for NewReplicaCount
is 5. The minimum value depends upon the type of Redis replication group you are working with.
The minimum number of replicas in a shard or replication group is:
-
Redis (cluster mode disabled)
-
If Multi-AZ: 1
-
If Multi-AZ: 0
-
-
Redis (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
node_group_id: String
The 4-digit id for the node group you are configuring. For Redis (cluster mode disabled) replication groups, the node group id is always 0001. To find a Redis (cluster mode enabled)'s node group's (shard's) id, see Finding a Shard's Id.
preferred_availability_zones: Option<Vec<String>>
A list of PreferredAvailabilityZone
strings that specify which availability zones the replication group's nodes are to be in. The nummber of PreferredAvailabilityZone
values must equal the value of NewReplicaCount
plus 1 to account for the primary node. If this member of ReplicaConfiguration
is omitted, ElastiCache for Redis selects the availability zone for each of the replicas.
Trait Implementations
impl Clone for ConfigureShard
[src]
pub fn clone(&self) -> ConfigureShard
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConfigureShard
[src]
impl Default for ConfigureShard
[src]
pub fn default() -> ConfigureShard
[src]
impl PartialEq<ConfigureShard> for ConfigureShard
[src]
pub fn eq(&self, other: &ConfigureShard) -> bool
[src]
pub fn ne(&self, other: &ConfigureShard) -> bool
[src]
impl StructuralPartialEq for ConfigureShard
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigureShard
[src]
impl Send for ConfigureShard
[src]
impl Sync for ConfigureShard
[src]
impl Unpin for ConfigureShard
[src]
impl UnwindSafe for ConfigureShard
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,