Skip to main content

clusters_list_only

Lists clusters in a region or regions, for all properties use clusters

Overview

Nameclusters_list_only
TypeResource
DescriptionThe AWS::MemoryDB::Cluster resource creates an Amazon MemoryDB Cluster.
Idaws.memorydb.clusters_list_only

Fields

NameDatatypeDescription
cluster_namestringThe name of the cluster. This value must be unique as it also serves as the cluster identifier.
descriptionstringAn optional description of the cluster.
statusstringThe status of the cluster. For example, Available, Updating, Creating.
node_typestringThe compute and memory capacity of the nodes in the cluster.
num_shardsintegerThe number of shards the cluster will contain.
num_replicas_per_shardintegerThe number of replicas to apply to each shard. The limit is 5.
subnet_group_namestringThe name of the subnet group to be used for the cluster.
security_group_idsarrayOne or more Amazon VPC security groups associated with this cluster.
maintenance_windowstringSpecifies 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.
parameter_group_namestringThe name of the parameter group associated with the cluster.
parameter_group_statusstringThe status of the parameter group used by the cluster.
portintegerThe port number on which each member of the cluster accepts connections.
snapshot_retention_limitintegerThe 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.
snapshot_windowstringThe daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
acl_namestringThe name of the Access Control List to associate with the cluster.
sns_topic_arnstringThe Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
sns_topic_statusstringThe status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled.
tls_enabledbooleanA flag that enables in-transit encryption when set to true.
You cannot modify the value of TransitEncryptionEnabled after the cluster is created. To enable in-transit encryption on a cluster you must set TransitEncryptionEnabled to true when you create a cluster.
data_tieringobjectEnables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes.
kms_key_idstringThe ID of the KMS key used to encrypt the cluster.
snapshot_arnsarrayA 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_namestringThe 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.
final_snapshot_namestringThe user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.
arnstringThe Amazon Resource Name (ARN) of the cluster.
engine_versionstringThe Redis engine version used by the cluster.
cluster_endpointobjectThe cluster endpoint.
auto_minor_version_upgradebooleanA flag that enables automatic minor version upgrade when set to true.
You cannot modify the value of AutoMinorVersionUpgrade after the cluster is created. To enable AutoMinorVersionUpgrade on a cluster you must set AutoMinorVersionUpgrade to true when you create a cluster.
tagsarrayAn array of key-value pairs to apply to this cluster.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all clusters in a region.

SELECT
region,
cluster_name
FROM aws.memorydb.clusters_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the clusters_list_only resource, see clusters