Struct ReplicationGroup

Source
pub struct ReplicationGroup {
Show 24 fields pub arn: Option<String>, pub at_rest_encryption_enabled: Option<bool>, pub auth_token_enabled: Option<bool>, pub auth_token_last_modified_date: Option<String>, pub automatic_failover: Option<String>, pub cache_node_type: Option<String>, pub cluster_enabled: Option<bool>, pub configuration_endpoint: Option<Endpoint>, pub description: Option<String>, pub global_replication_group_info: Option<GlobalReplicationGroupInfo>, pub kms_key_id: Option<String>, pub log_delivery_configurations: Option<Vec<LogDeliveryConfiguration>>, pub member_clusters: Option<Vec<String>>, pub member_clusters_outpost_arns: Option<Vec<String>>, pub multi_az: Option<String>, pub node_groups: Option<Vec<NodeGroup>>, pub pending_modified_values: Option<ReplicationGroupPendingModifiedValues>, pub replication_group_id: Option<String>, pub snapshot_retention_limit: Option<i64>, pub snapshot_window: Option<String>, pub snapshotting_cluster_id: Option<String>, pub status: Option<String>, pub transit_encryption_enabled: Option<bool>, pub user_group_ids: Option<Vec<String>>,
}
Expand description

Contains all of the attributes of a specific Redis replication group.

Fields§

§arn: Option<String>

The ARN (Amazon Resource Name) of the replication group.

§at_rest_encryption_enabled: Option<bool>

A flag that enables encryption at-rest when set to true.

You cannot modify the value of AtRestEncryptionEnabled after the cluster is created. To enable encryption at-rest on a cluster you must set AtRestEncryptionEnabled to true when you create a cluster.

Required: Only available when creating a replication group in an Amazon VPC using redis version 3.2.6, 4.x or later.

Default: false

§auth_token_enabled: Option<bool>

A flag that enables using an AuthToken (password) when issuing Redis commands.

Default: false

§auth_token_last_modified_date: Option<String>

The date the auth token was last modified

§automatic_failover: Option<String>

Indicates the status of automatic failover for this Redis replication group.

§cache_node_type: Option<String>

The name of the compute and memory capacity node type for each node in the replication group.

§cluster_enabled: Option<bool>

A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).

Valid values: true | false

§configuration_endpoint: Option<Endpoint>

The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.

§description: Option<String>

The user supplied description of the replication group.

§global_replication_group_info: Option<GlobalReplicationGroupInfo>

The name of the Global datastore and role of this replication group in the Global datastore.

§kms_key_id: Option<String>

The ID of the KMS key used to encrypt the disk in the cluster.

§log_delivery_configurations: Option<Vec<LogDeliveryConfiguration>>

Returns the destination, format and type of the logs.

§member_clusters: Option<Vec<String>>

The names of all the cache clusters that are part of this replication group.

§member_clusters_outpost_arns: Option<Vec<String>>

The outpost ARNs of the replication group's member clusters.

§multi_az: Option<String>

A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ

§node_groups: Option<Vec<NodeGroup>>

A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).

§pending_modified_values: Option<ReplicationGroupPendingModifiedValues>

A group of settings to be applied to the replication group, either immediately or during the next maintenance window.

§replication_group_id: Option<String>

The identifier for the replication group.

§snapshot_retention_limit: Option<i64>

The number of days for which ElastiCache retains automatic cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.

If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.

§snapshot_window: Option<String>

The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).

Example: 05:00-09:00

If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.

This parameter is only valid if the Engine parameter is redis.

§snapshotting_cluster_id: Option<String>

The cluster ID that is used as the daily snapshot source for the replication group.

§status: Option<String>

The current state of this replication group - creating, available, modifying, deleting, create-failed, snapshotting.

§transit_encryption_enabled: Option<bool>

A flag that enables in-transit encryption when set to true.

You cannot modify the value of TransitEncryptionEnabled after the cluster is created. To enable in-transit encryption on a cluster you must set TransitEncryptionEnabled to true when you create a cluster.

Required: Only available when creating a replication group in an Amazon VPC using redis version 3.2.6, 4.x or later.

Default: false

§user_group_ids: Option<Vec<String>>

The list of user group IDs that have access to the replication group.

Trait Implementations§

Source§

impl Clone for ReplicationGroup

Source§

fn clone(&self) -> ReplicationGroup

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ReplicationGroup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ReplicationGroup

Source§

fn default() -> ReplicationGroup

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ReplicationGroup

Source§

fn eq(&self, other: &ReplicationGroup) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ReplicationGroup

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more