#[non_exhaustive]
pub struct CreateClusterInput {
Show 21 fields pub cluster_name: Option<String>, pub node_type: Option<String>, pub parameter_group_name: Option<String>, pub description: Option<String>, pub num_shards: Option<i32>, pub num_replicas_per_shard: Option<i32>, pub subnet_group_name: Option<String>, pub security_group_ids: Option<Vec<String>>, pub maintenance_window: Option<String>, pub port: Option<i32>, pub sns_topic_arn: Option<String>, pub tls_enabled: Option<bool>, pub kms_key_id: Option<String>, pub snapshot_arns: Option<Vec<String>>, pub snapshot_name: Option<String>, pub snapshot_retention_limit: Option<i32>, pub tags: Option<Vec<Tag>>, pub snapshot_window: Option<String>, pub acl_name: Option<String>, pub engine_version: Option<String>, pub auto_minor_version_upgrade: Option<bool>,
}

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.
cluster_name: Option<String>

The name of the cluster. This value must be unique as it also serves as the cluster identifier.

node_type: Option<String>

The compute and memory capacity of the nodes in the cluster.

parameter_group_name: Option<String>

The name of the parameter group associated with the cluster.

description: Option<String>

An optional description of the cluster.

num_shards: Option<i32>

The number of shards the cluster will contain. The default value is 1.

num_replicas_per_shard: Option<i32>

The number of replicas to apply to each shard. The default value is 1. The maximum is 5.

subnet_group_name: Option<String>

The name of the subnet group to be used for the cluster.

security_group_ids: Option<Vec<String>>

A list of security group names to associate with this cluster.

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.

port: Option<i32>

The port number on which each of the nodes accepts connections.

sns_topic_arn: Option<String>

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.

tls_enabled: Option<bool>

A flag to enable in-transit encryption on the cluster.

kms_key_id: Option<String>

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

snapshot_arns: Option<Vec<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.

snapshot_name: Option<String>

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.

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.

tags: Option<Vec<Tag>>

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.

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 to associate with the cluster.

engine_version: Option<String>

The version number of the Redis engine to be used for the cluster.

auto_minor_version_upgrade: Option<bool>

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

Implementations

Consumes the builder and constructs an Operation<CreateCluster>

Creates a new builder-style object to manufacture CreateClusterInput

The name of the cluster. This value must be unique as it also serves as the cluster identifier.

The compute and memory capacity of the nodes in the cluster.

The name of the parameter group associated with the cluster.

An optional description of the cluster.

The number of shards the cluster will contain. The default value is 1.

The number of replicas to apply to each shard. The default value is 1. The maximum is 5.

The name of the subnet group to be used for the cluster.

A list of security group names to associate with this cluster.

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 port number on which each of the nodes accepts connections.

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.

A flag to enable in-transit encryption on the cluster.

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

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.

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.

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.

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 to associate with the cluster.

The version number of the Redis engine to be used for the cluster.

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

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