Skip to content

/AWS1/CL_MEM=>CREATECLUSTER()

About CreateCluster

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

Method Signature

IMPORTING

Required arguments:

IV_CLUSTERNAME TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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

IV_NODETYPE TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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

IV_ACLNAME TYPE /AWS1/MEMACLNAME /AWS1/MEMACLNAME

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

Optional arguments:

IV_MULTIREGIONCLUSTERNAME TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

The name of the multi-Region cluster to be created.

IV_PARAMETERGROUPNAME TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

The name of the parameter group associated with the cluster.

IV_DESCRIPTION TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

An optional description of the cluster.

IV_NUMSHARDS TYPE /AWS1/MEMINTEGEROPTIONAL /AWS1/MEMINTEGEROPTIONAL

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

IV_NUMREPLICASPERSHARD TYPE /AWS1/MEMINTEGEROPTIONAL /AWS1/MEMINTEGEROPTIONAL

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

IV_SUBNETGROUPNAME TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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

IT_SECURITYGROUPIDS TYPE /AWS1/CL_MEMSECGROUPIDSLIST_W=>TT_SECURITYGROUPIDSLIST TT_SECURITYGROUPIDSLIST

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

IV_MAINTENANCEWINDOW TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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

IV_PORT TYPE /AWS1/MEMINTEGEROPTIONAL /AWS1/MEMINTEGEROPTIONAL

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

IV_SNSTOPICARN TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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

IV_TLSENABLED TYPE /AWS1/MEMBOOLEANOPTIONAL /AWS1/MEMBOOLEANOPTIONAL

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

IV_KMSKEYID TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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

IT_SNAPSHOTARNS TYPE /AWS1/CL_MEMSNAPSHOTARNSLIST_W=>TT_SNAPSHOTARNSLIST TT_SNAPSHOTARNSLIST

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.

IV_SNAPSHOTNAME TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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.

IV_SNAPSHOTRETENTIONLIMIT TYPE /AWS1/MEMINTEGEROPTIONAL /AWS1/MEMINTEGEROPTIONAL

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.

IT_TAGS TYPE /AWS1/CL_MEMTAG=>TT_TAGLIST TT_TAGLIST

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.

IV_SNAPSHOTWINDOW TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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.

IV_ENGINE TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

The name of the engine to be used for the cluster.

IV_ENGINEVERSION TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

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

IV_AUTOMINORVERSIONUPGRADE TYPE /AWS1/MEMBOOLEANOPTIONAL /AWS1/MEMBOOLEANOPTIONAL

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

IV_DATATIERING TYPE /AWS1/MEMBOOLEANOPTIONAL /AWS1/MEMBOOLEANOPTIONAL

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MEMCREATECLUSTERRSP /AWS1/CL_MEMCREATECLUSTERRSP