#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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

The user-supplied name of the cluster. This identifier is a unique key that identifies a cluster.

A description of the cluster

The status of the cluster. For example, Available, Updating, Creating.

A group of settings that are currently being applied.

The number of shards in the cluster

A list of shards that are members of the cluster.

Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).

The cluster's configuration endpoint

The cluster's node type

The Redis engine version used by the cluster

The Redis engine patch version used by the cluster

The name of the parameter group used by the cluster

The status of the parameter group used by the cluster, for example 'active' or 'applying'.

A list of security groups used by the cluster

The name of the subnet group used by the cluster

A flag to indicate if In-transit encryption is enabled

The ID of the KMS key used to encrypt the cluster

The Amazon Resource Name (ARN) of the cluster.

The Amazon Resource Name (ARN) of the SNS notification topic

The SNS topic must be in Active status to receive notifications

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.

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.

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.

The name of the Access Control List associated with this cluster.

When set to true, the cluster will automatically receive minor engine version upgrades after launch.

Creates a new builder-style object to manufacture Cluster

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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