Struct aws_sdk_memorydb::input::CreateClusterInput
source · #[non_exhaustive]pub struct CreateClusterInput { /* private fields */ }
Implementations§
source§impl CreateClusterInput
impl CreateClusterInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCluster, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCluster, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateCluster
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateClusterInput
.
source§impl CreateClusterInput
impl CreateClusterInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the cluster. This value must be unique as it also serves as the cluster identifier.
sourcepub fn node_type(&self) -> Option<&str>
pub fn node_type(&self) -> Option<&str>
The compute and memory capacity of the nodes in the cluster.
sourcepub fn parameter_group_name(&self) -> Option<&str>
pub fn parameter_group_name(&self) -> Option<&str>
The name of the parameter group associated with the cluster.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description of the cluster.
sourcepub fn num_shards(&self) -> Option<i32>
pub fn num_shards(&self) -> Option<i32>
The number of shards the cluster will contain. The default value is 1.
sourcepub fn num_replicas_per_shard(&self) -> Option<i32>
pub fn num_replicas_per_shard(&self) -> Option<i32>
The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
sourcepub fn subnet_group_name(&self) -> Option<&str>
pub fn subnet_group_name(&self) -> Option<&str>
The name of the subnet group to be used for the cluster.
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
A list of security group names to associate with this cluster.
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.
Valid values for ddd
are:
-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example: sun:23:00-mon:01:30
sourcepub fn port(&self) -> Option<i32>
pub fn port(&self) -> Option<i32>
The port number on which each of the nodes accepts connections.
sourcepub fn sns_topic_arn(&self) -> Option<&str>
pub fn sns_topic_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
sourcepub fn tls_enabled(&self) -> Option<bool>
pub fn tls_enabled(&self) -> Option<bool>
A flag to enable in-transit encryption on the cluster.
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 snapshot_arns(&self) -> Option<&[String]>
pub fn snapshot_arns(&self) -> Option<&[String]>
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas.
sourcepub fn snapshot_name(&self) -> Option<&str>
pub fn snapshot_name(&self) -> Option<&str>
The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to restoring while the new cluster is being created.
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.
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
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 to associate with the cluster.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The version number of the Redis engine to be used for the 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.
sourcepub fn data_tiering(&self) -> Option<bool>
pub fn data_tiering(&self) -> Option<bool>
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
Trait Implementations§
source§impl Clone for CreateClusterInput
impl Clone for CreateClusterInput
source§fn clone(&self) -> CreateClusterInput
fn clone(&self) -> CreateClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateClusterInput
impl Debug for CreateClusterInput
source§impl PartialEq<CreateClusterInput> for CreateClusterInput
impl PartialEq<CreateClusterInput> for CreateClusterInput
source§fn eq(&self, other: &CreateClusterInput) -> bool
fn eq(&self, other: &CreateClusterInput) -> bool
self
and other
values to be equal, and is used
by ==
.