memorydb_create_cluster: Creates a cluster

View source: R/memorydb_operations.R

memorydb_create_clusterR Documentation

Creates a cluster

Description

Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.

See https://www.paws-r-sdk.com/docs/memorydb_create_cluster/ for full documentation.

Usage

memorydb_create_cluster(
  ClusterName,
  NodeType,
  ParameterGroupName = NULL,
  Description = NULL,
  NumShards = NULL,
  NumReplicasPerShard = NULL,
  SubnetGroupName = NULL,
  SecurityGroupIds = NULL,
  MaintenanceWindow = NULL,
  Port = NULL,
  SnsTopicArn = NULL,
  TLSEnabled = NULL,
  KmsKeyId = NULL,
  SnapshotArns = NULL,
  SnapshotName = NULL,
  SnapshotRetentionLimit = NULL,
  Tags = NULL,
  SnapshotWindow = NULL,
  ACLName,
  EngineVersion = NULL,
  AutoMinorVersionUpgrade = NULL,
  DataTiering = NULL
)

Arguments

ClusterName

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

NodeType

[required] The compute and memory capacity of the nodes in the cluster.

ParameterGroupName

The name of the parameter group associated with the cluster.

Description

An optional description of the cluster.

NumShards

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

NumReplicasPerShard

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

SubnetGroupName

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

SecurityGroupIds

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

MaintenanceWindow

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

Port

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

SnsTopicArn

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

TLSEnabled

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

KmsKeyId

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

SnapshotArns

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.

SnapshotName

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.

SnapshotRetentionLimit

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

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.

SnapshotWindow

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.

ACLName

[required] The name of the Access Control List to associate with the cluster.

EngineVersion

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

AutoMinorVersionUpgrade

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

DataTiering

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.


paws.database documentation built on Sept. 12, 2024, 6:37 a.m.