Struct aws_sdk_memorydb::model::Cluster
source · [−]#[non_exhaustive]pub struct Cluster {Show 25 fields
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<String>,
pub pending_updates: Option<ClusterPendingUpdates>,
pub number_of_shards: Option<i32>,
pub shards: Option<Vec<Shard>>,
pub availability_mode: Option<AzStatus>,
pub cluster_endpoint: Option<Endpoint>,
pub node_type: Option<String>,
pub engine_version: Option<String>,
pub engine_patch_version: Option<String>,
pub parameter_group_name: Option<String>,
pub parameter_group_status: Option<String>,
pub security_groups: Option<Vec<SecurityGroupMembership>>,
pub subnet_group_name: Option<String>,
pub tls_enabled: Option<bool>,
pub kms_key_id: Option<String>,
pub arn: Option<String>,
pub sns_topic_arn: Option<String>,
pub sns_topic_status: Option<String>,
pub snapshot_retention_limit: Option<i32>,
pub maintenance_window: Option<String>,
pub snapshot_window: Option<String>,
pub acl_name: Option<String>,
pub auto_minor_version_upgrade: Option<bool>,
}
Expand description
Contains all of the attributes of a specific cluster.
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.name: Option<String>
The user-supplied name of the cluster. This identifier is a unique key that identifies a cluster.
description: Option<String>
A description of the cluster
status: Option<String>
The status of the cluster. For example, Available, Updating, Creating.
pending_updates: Option<ClusterPendingUpdates>
A group of settings that are currently being applied.
number_of_shards: Option<i32>
The number of shards in the cluster
shards: Option<Vec<Shard>>
A list of shards that are members of the cluster.
availability_mode: Option<AzStatus>
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
cluster_endpoint: Option<Endpoint>
The cluster's configuration endpoint
node_type: Option<String>
The cluster's node type
engine_version: Option<String>
The Redis engine version used by the cluster
engine_patch_version: Option<String>
The Redis engine patch version used by the cluster
parameter_group_name: Option<String>
The name of the parameter group used by the cluster
parameter_group_status: Option<String>
The status of the parameter group used by the cluster, for example 'active' or 'applying'.
security_groups: Option<Vec<SecurityGroupMembership>>
A list of security groups used by the cluster
subnet_group_name: Option<String>
The name of the subnet group used by the cluster
tls_enabled: Option<bool>
A flag to indicate if In-transit encryption is enabled
kms_key_id: Option<String>
The ID of the KMS key used to encrypt the cluster
arn: Option<String>
The Amazon Resource Name (ARN) of the cluster.
sns_topic_arn: Option<String>
The Amazon Resource Name (ARN) of the SNS notification topic
sns_topic_status: Option<String>
The SNS topic must be in Active status to receive notifications
snapshot_retention_limit: Option<i32>
The number of days for which MemoryDB retains automatic 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.
maintenance_window: Option<String>
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
snapshot_window: Option<String>
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00 If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
acl_name: Option<String>
The name of the Access Control List associated with this cluster.
auto_minor_version_upgrade: Option<bool>
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
Implementations
sourceimpl Cluster
impl Cluster
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The user-supplied name of the cluster. This identifier is a unique key that identifies a cluster.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the cluster
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the cluster. For example, Available, Updating, Creating.
sourcepub fn pending_updates(&self) -> Option<&ClusterPendingUpdates>
pub fn pending_updates(&self) -> Option<&ClusterPendingUpdates>
A group of settings that are currently being applied.
sourcepub fn number_of_shards(&self) -> Option<i32>
pub fn number_of_shards(&self) -> Option<i32>
The number of shards in the cluster
sourcepub fn availability_mode(&self) -> Option<&AzStatus>
pub fn availability_mode(&self) -> Option<&AzStatus>
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
sourcepub fn cluster_endpoint(&self) -> Option<&Endpoint>
pub fn cluster_endpoint(&self) -> Option<&Endpoint>
The cluster's configuration endpoint
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The Redis engine version used by the cluster
sourcepub fn engine_patch_version(&self) -> Option<&str>
pub fn engine_patch_version(&self) -> Option<&str>
The Redis engine patch version used by the cluster
sourcepub fn parameter_group_name(&self) -> Option<&str>
pub fn parameter_group_name(&self) -> Option<&str>
The name of the parameter group used by the cluster
sourcepub fn parameter_group_status(&self) -> Option<&str>
pub fn parameter_group_status(&self) -> Option<&str>
The status of the parameter group used by the cluster, for example 'active' or 'applying'.
sourcepub fn security_groups(&self) -> Option<&[SecurityGroupMembership]>
pub fn security_groups(&self) -> Option<&[SecurityGroupMembership]>
A list of security groups used by the cluster
sourcepub fn subnet_group_name(&self) -> Option<&str>
pub fn subnet_group_name(&self) -> Option<&str>
The name of the subnet group used by the cluster
sourcepub fn tls_enabled(&self) -> Option<bool>
pub fn tls_enabled(&self) -> Option<bool>
A flag to indicate if In-transit encryption is enabled
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the KMS key used to encrypt the cluster
sourcepub fn sns_topic_arn(&self) -> Option<&str>
pub fn sns_topic_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the SNS notification topic
sourcepub fn sns_topic_status(&self) -> Option<&str>
pub fn sns_topic_status(&self) -> Option<&str>
The SNS topic must be in Active status to receive notifications
sourcepub fn snapshot_retention_limit(&self) -> Option<i32>
pub fn snapshot_retention_limit(&self) -> Option<i32>
The number of days for which MemoryDB retains automatic 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.
sourcepub fn maintenance_window(&self) -> Option<&str>
pub fn maintenance_window(&self) -> Option<&str>
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
sourcepub fn snapshot_window(&self) -> Option<&str>
pub fn snapshot_window(&self) -> Option<&str>
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00 If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
sourcepub fn acl_name(&self) -> Option<&str>
pub fn acl_name(&self) -> Option<&str>
The name of the Access Control List associated with this cluster.
sourcepub fn auto_minor_version_upgrade(&self) -> Option<bool>
pub fn auto_minor_version_upgrade(&self) -> Option<bool>
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
Trait Implementations
impl StructuralPartialEq for Cluster
Auto Trait Implementations
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
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